Halloween Sale
Unlock all premium questions for over 30% off
Maximum Flying Distance
Hard
Question
Entry arr[i] of the array arr says how much ground a flight on day i covers. Energy starts at k, and k doubles as the cap: you can never store more than that. Every day comes down to a single choice:
...
Asked at:Google
More Google interview questions
- Largest Tree Root IDmedium
- Find Median In Large Unsorted Arraymedium
- Highway Checkpoint Tollsmedium
- Grep Command With Context Linesmedium
- Design Unix Find Command With Filtershard
- Paint a Row of Houseshard
- Employee Shift Timeline Intervalsmedium
- Two Car Destinationsmedium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.