Question d’entretien chez Goldman Sachs

First two are coding problems and the rest are maths & statistics