Goldman Sachs Interview Question

Several questions about programming and algorithms