New
The Learning module is now live
See what's new
×
Question Bank
Learning
NEW
Pricing
Blog
Forum
HOT
JobRadar
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Pinterest
Coding Question
AI Insights
Quick Summary
Simulate travel from 0 to finish along a number line using available scooters.
Each scooter provides a maximum forward range of 10 units.
Return the cumulative distance covered exclusively while riding scooters.
What This Tests
Direct simulation of a stepwise process
Array sorting and linear traversal
State management during iteration
Resource consumption tracking
Common Patterns
Simulation
Sorting
Greedy
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected