Pregunta de entrevista de Snap

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