Search⌘ K
AI Features

Frog Jump

Frog Jump gives sorted stone positions and asks whether a frog can reach the last stone by landing only on stones, starting with a one-unit jump and changing each later jump by at most one unit.

Statement

A frog is trying to cross a river by jumping on stones placed at various positions along the river. The river is divided into units, and some units ...