Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Jump Game II

MediumLeetCode 45 ↗

The problem, in one line. Each position holds the longest jump allowed from it, and the last position is guaranteed reachable. Return the fewest jumps needed to get there. LeetCode 45.

The tell. The same jump list as before, but now the question is “fewest steps”. Fewest steps on a line where each step reaches a range is a walk in layers: everything one jump away, then everything two jumps away.

Included with a plan

This solution is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.