LeetCode 403. Frog Jump Explanation and Solution

preview_player
Показать описание


Thanks in advance. :D

Happy coding every day!
Рекомендации по теме
Комментарии
Автор

为啥 dist can equals to j + 1. Since the Max jump from index j is j.

nkingt
Автор

I'm not sure if jumping 3, 2, and 4 from 3-6, 6-8 then 8-12 is valid, since that means that jump from 2 to 4 are off by more than 1.

jenna_kwon
Автор

Do you have a github for source codes?

murattalu