Goldman Sachs interview question

The case was unexpected.