Domanda di colloquio di Goldman Sachs

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