leetle

Daily challenge for 2025-02-24

55. Jump Game

Write a function solve that determines if you can reach the last index in an array. Each element represents the maximum jump length at that position.

Example:
Input: [2,3,1,1,4]
Output: True
Explanation: Jump 1 step from index 0 to 1, then 3 steps to the last index.

Run this challenge interactively in Python or JavaScript when the app loads.