Question d’entretien chez Jane Street

Snakes and ladders variant coding question