Freenow by Lyft interview question

It was a Java coding challenge