Pregunta de entrevista de IBM

Normal problem solving and basic programming.