Pergunta de entrevista da empresa Devexperts

It was a coding task