Hackerrank
Hackerrank - Jumping on the Clouds: Revisited Solution
Aerith is playing a cloud hopping game. In this game, there are sequentially numbered clouds that can be thunderheads or cumulus clouds. Her character must jump from cloud to cloud until it reaches the start again. To play, Aerith is given an array of clouds, and an energy level . She