Test case query?

  • 1

    For input [0,0,0,0,0], the test case gives solution of 4, while the destination can't be reached. Do we assume that the final index can always be reached?

Log in to reply

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