Pergunta de entrevista da empresa Goldman Sachs

Find the smallest index of the largest unnormalized tree root