MangoApps Interview Question

Coding problem to solve in person interview.