Pergunta de entrevista da empresa Snap

max sum of TreeNodes in n-ary tree while nodes cannot be adjacent and node value are positive