Domanda di colloquio di Goldman Sachs

one code question and two behaviour question