Domanda di colloquio di Goldman Sachs

Several questions about programming and algorithms