Topic: Greedy Algorithm Problem / Level: intermediate

Problem: You are given an array of integers representing the energy required to jump between stones in a river. Find the minimum energy required to reach the last stone.

Run the code to see the output here...