Mobileye Interview Question

403. Frog Jump from leetcode