โ† Commvault questions

Ways to cross a river with stones

Filed under Commvault

The question

Cross a river of length n meters containing n-1 stones at 1 meter intervals, where you can jump up to m meters in a single jump. Find the number of possible ways to cross the river.

No write-up yet. Related questions below have one.

Related Commvault questions

Collected from public candidate posts and coding forums. Updated Nov 2026.