test case confusing

  • 0

    I can't understand the case that when startword is included in the dict. As it says startword is not a transformed word, which means it should not in the dict, and at that case the result should be 0, and the second case follows this, however, the first case I listed below expect 2. I'm totally lost.
    expect is 2
    expected is 0.

Log in to reply

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