Box8 Interview Question

Frog jump from Leetcode Dynamic Programming question