C3 AICodingMembers
Fewest Hops to Reach the End of an Array
Members only
A coding round on an array where each cell limits how far you may hop forward, and the goal is to reach the end in as few moves as possible. A brute-force approach works but is slow, so the interesting part is finding structure that lets you scan once.
SWE
greedy
array
bfs
medium
Frequency
Single report
Last asked
—
Stage
onsite-coding
Members get
- Full problem statement
- 3 progressive hints
- Step-by-step approach
- Full solution with code
- 6 talking points
- 5 follow-up questions with answer directions
- Preparation drills
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
