My main question about this problem is: What about array elements with value 0?

I can think of at least one situation where you would never be able to reach the end if you ran into a zero, namely input [2,1,0,5,2], and I am sure others can be found.

As there are solutions that have passed this test, I can only assume that:

- either trial-and-error have lead to the correct way of handling the situation;
- or none of the problem inputs actually have such a solution.

So, which one is it? And, to make it clear, how would one be expected to handle 0? Can we just assume that we would never hit a situation where 0 stops us from jumping on?

Many Thanks,

Mike