Pregunta de entrevista de Freenow by Lyft

It was a Java coding challenge