TikTok interview question

The coding problem was 403. Frog Jump Leetcode problem.