Pergunta de entrevista da empresa HeliosX Group

The code test had 3 problems and were all from hackerrank