Given a binary tree, check if every node's value is equal to the sum of all of its children nodes (or descendants, clarify with interviewer; typically direct children or all nodes in subtree).
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.