Jump Game I

Jump Game I

You are given an integer array nums representing the maximum jump length from each position. Starting at the first index, determine if you can reach the last index of the array. Each element nums[i] indicates that from index i, you can jump to any index j where i <= j <= i + nums[i]. Return true if the last index is reachable, and false otherwise. Constraints: 1 <= nums.length <= 10^4 0 <= nums[i] <= 10^5
JavaGreedy
00
Read
1
InterviewGPT

AI-powered tools to help you succeed in tech interviews — from resume to offer.

Products

  • Interview Solver
  • Question Bank
  • Golden Blogs
  • Intervipedia
  • Application Tools

Company

  • Pricing
  • FAQ
  • About

Legal

  • Privacy Policy
  • Terms of Service

© 2026 InterviewGPT Inc. All rights reserved.

All systems operationalUS-East

Made with ♥ for developers