Pergunta de entrevista da empresa SLB

Time complexity questions were asked.