Goldman Sachs Interview Question

Probabilty questions, math questions, generic array coding question