</>OfferRetriever
DashboardDiscuss
NEW

July 4th Sale

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

$10.42$6.25

10

:

09

:

25

:

19

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