Another Frog-Jumping problem

3.7

3 votes
, Dynamic Programming, Algorithms

?