โ† FactSet questions

Check if a given binary tree is a SumTree

Filed under FactSet

Determine if a binary tree is a SumTree, where for every node, the value of the node is equal to the sum of the values of its left and right subtrees. Leaf nodes are considered SumTrees.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related FactSet questions

Collected from public candidate posts and coding forums. Updated Nov 2026.