Pergunta de entrevista da empresa IBM

Nothing was that difficult