can_jump.rs
Rust 1.98
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.
+ 8 hidden
nums = [2, 0, 3, 0, 1]
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.