Pregunta de entrevista de IBM

Nothing was that difficult