← ALL NOTES
Array

909. Snakes and Ladders

An n×n board numbered boustrophedon-style (snaking, bottom-up) 1..n²; roll a die (1–6) to advance, and landing on a snake/ladder cell teleports you to its target. Find the minimum rolls to reach n²,…

Loading…