Lyft Interview Question

Leetcode type interview -- pretty standard algorithm stuff