Goldman Sachs interview question

Interview was not difficult.