Pregunta de entrevista de Lyft

It was a Coding challenge