Goldman Sachs interview question

Aptitude and coding and reasoning