>_
can_jump.php
PHP 8.5
Not run yet

+ 8 hidden

Input
nums = [2, 0, 3, 0, 1]
Expected
true

Jump 2 from index 0 to index 2, over the 0, then 2 more from index 2 (which allows up to 3) to the last index, 4.