GovTech Interview Question

Arrays, and basic Data structure and algo