</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

03

:

08

:

12

Get this deal
Back to Dashboard

[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. ...