Goldman Sachs interview question

Probabilty questions, math questions, generic array coding question