Goldman Sachs interview question

Common Leetcode medium difficulty questions