Check whether every non-leaf node in a binary tree equals the sum of its left and right children, with a missing child counted as 0 — return 1 if the whole tree holds, else 0.
Loading content...