Goldman Sachs Interview Question

Mostly asked from Leetcode hard questions