Goldman Sachs interview question

Array, Tree and OOP, and OS based.