Pergunta de entrevista da empresa SLB

Basic Time and Space complexities questions