Lyft interview question

Leetcode medium/hard level algorithms / data structure questions.