Pregunta de entrevista de SLB

Basic Time and Space complexities questions