Pregunta de entrevista de Microsoft

The most difficult question was the second question.