Goldman Sachs Interview Question

Many questions on complexity of proposed algorithms.