Paste your Array in the Textfield above. Click me to see the explanation video.

tl;dr: All frogs want to be united at a single Lilypad. Frogs can only jump on other frogs. Each frog on a lilypad extends the jumping range by 1, you must always jump as far as frogs are on that lily.