CarGurus Interview Question

Leetcode/Hackerrank style do questions (easy).