UKG Interview Question

design snake and ladder