GlobalData Interview Question

Snakes and ladders