Goldman Sachs interview question

general technical questions in almost every round ...