Exercises/#137 Jump Game
#137

Jump Game

MediumπŸ“¦ Arrays
80 XP

Problem

Given an array where nums[i] is the max jump from position i, determine if you can reach the last index.

Examples

Input: nums = [2,3,1,1,4]
Output: true

Input: nums = [3,2,1,0,4]
Output: false
arraygreedy
AI Assistantβ€” powered by AI

Unlock hints progressively β€” start gentle, go deeper only if needed.

πŸ’‘

Level 1: Gentle Nudge

A subtle direction

πŸ—ΊοΈ

Level 2: Approach

The algorithm to use

πŸ”

Level 3: Detailed

Step-by-step guidance

137 / 150

Your Solution

⚑ JavaScript

to save progress and use AI features