Pergunta de entrevista da empresa AppDynamics

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