Goldman Sachs interview question

Probability question