Goldman Sachs Interview Question

General data structure questions