Pregunta de entrevista de ABC

A 2D array question was asked. Snake and ladder game.