The requirement is just to reach the end somehow or reach the end starting from index 0? If we don't want to start from 1st index then logically we can reach the end by starting from the end?
I got confused because if I test on
I can't understand why the 3rd test should say true?
because when jumping you dont HAVE to go to index + 2, so you can just jump to the next index and then jump to the end from the second index
I agree that the question is a bit unclear, but if you think about it there's only one possible way that it makes sense.
The numbers in the array are the "maximum" distance you can jump. So for example if the value is 2, you don't have to jump 2 elements, you can jump 1 element, or 2 elements.