Pergunta de entrevista da empresa ThoughtSpot

Snake and Ladder Problem