Problem 3730 · Medium

Maximum Calories Burnt from Jumps

Alternate between the tallest and shortest unvisited blocks so every jump drops or climbs as far as possible.

Open the interactive visualisation