Amazon Interview Question

Typical Leetcode-style algorithms & data structures