ION Group Interview Question

snake and ladder game data structure used