Goldman Sachs interview question

Basic quant questions and some behavior