Goldman Sachs interview question

some technical pros