Pergunta de entrevista da empresa ThoughtSpot

Snake and ladders question from leetcode or gfg