Goldman Sachs Interview Question

Leet code heavy assessments, medium/hard