Pergunta de entrevista da empresa Microsoft

assignment was easy not a problem.