Unable to understand question completely

  • 0

    I am not able to understand why output for this is 2 and not 1? Won't it be single step from hot -> dot by mutating 'h' to 'd'? Please help me understanding this.

  • 0

    The output is actually the number of nodes in the ladder. So two nodes, one step.

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.