Pergunta de entrevista da empresa SLB

Data structure and algorithms, time and space complexity