Goldman Sachs interview question

Data Structures & Algorithms fundamentals