← Questions

Jump game: can you reach the last index?

0
GoogleWaymoAmazonCodingLast asked Nov 2026

A coding interview question asked in Amazon's technical phone screen and at Google and Waymo, last asked Nov 2026. It tests greedy and arrays.

You get a list of non-negative integers and start at index 0. nums[i] is the longest jump you may make from index i: you can move forward to any index from i + 1 up to i + nums[i]. Return whether some sequence of jumps reaches the last…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Amazon · Technical phone screen · Last asked Nov 202660 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
  • Google · Onsite coding · Last asked Sep 202645 min · Usually two rounds, mostly in person: whiteboard plus a Chromebook with Google Docs · No AI (a pilot code-comprehension round lets candidates use Gemini)
  • Waymo · Coding · Last asked Feb 202645 min · Usually two rounds; some give you the interviewer's buggy code to find and fix, some are read aloud with no skeleton

What it tests

greedy · arrays

Your code and the AI tutor open when you unlock this question.