Snapmint interview question

Snake and ladder LLD Question