Pregunta de entrevista de MangoApps

Coding problem to solve in person interview.