It's a easy problem. But it should explain the problem more clearly.


  • 0
    T

    Does 'jump' means moving one step away or skipping one element?
    Do we need to land exactly on the last element or we just need to pass the last element?
    The answer: one step away and we can pass over the last element.
    I really suggest leetcode explain all problems in a more rigorous way.


Log in to reply
 

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