Halloween SalePremium questions, over 30% offUnlock all premium questions for over 30% off
[OA] Energy Wall Explorer
Medium
You are navigating an infinite corridor that contains several invisible barriers. You start at position 0 with F units of fuel. You move one unit left or right per step (from position n to n+1 or n-1).
Each barrier is located at a coordinate of the form x + 0.5 (between two adjacent integers). All barrier positions are unique. ...
Asked at:Scale AI
More Scale AI interview questions
- Subsequence Goodness Valueshard
- Poker Hand Validatormedium
- Neighborhood Party Schedulermedium
- N-ary Tree Node Distancemedium
- Number of Stable Subarraysmedium
- Standard Card Game Simulatorhard
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.