Goldman Sachs interview question

programming experience, basic probability questions