Pregunta de entrevista de HeliosX Group

The code test had 3 problems and were all from hackerrank