Pergunta de entrevista da empresa OneTrust

Deepest leaves sum leetcode problem