Pregunta de entrevista de Genpact

was not that difficult.