Pregunta de entrevista de AppDynamics

Write a solution for the 'Snakes and Ladders' board game.