Problem 403 · Hard

Frog Jump

Determine if frog can reach the last stone by jumping k-1, k, or k+1 stones ahead from current position.

Open the interactive visualisation