โ† Amazon questions
CodingReported in a candidate post, Jan 2010

Check if every node is sum of children

Filed under Amazon

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.

Related Amazon questions

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