Amazon Interview Question

Leetcode Behavior and fit System design