Pergunta de entrevista da empresa SLB

Brain tweezer question. Some instant challenge to check your problem solving skills.