Domanda di colloquio di Goldman Sachs

Basic datas tructure and algorithm coding questions.