Goldman Sachs interview question

nothing really too difficult