Pregunta de entrevista de Goldman Sachs

Several questions about programming and algorithms