Pergunta de entrevista da empresa Goldman Sachs

Many questions on complexity of proposed algorithms.