Pergunta de entrevista da empresa Netguru

Code challenge to be solved at home