Pregunta de entrevista de Connected

Did a coding challenge