Goldman Sachs interview question

General data structure questions