Goldman Sachs Interview Question

Forgot what problems were asked, but they were Medium leetcode type problems. Make sure you fully understand data structures.