Goldman Sachs Interview Question

Leetcode Style question and System Design