Pergunta de entrevista da empresa Freeport-McMoRan

Code a sample coding problem and think through the steps out loud