Goldman Sachs Interview Question

Medium leetcode style question was asked.