Pregunta de entrevista de TikTok

The coding problem was 403. Frog Jump Leetcode problem.