Decide whether a frog can cross a river by landing only on stones, starting with a 1-unit jump and then jumping k-1, k or k+1 units after a jump of k, always moving forward.
Loading content...