Pregunta de entrevista de ING

Online coding challenge was first round