Wednesday, April 13, 2011

check a tree

Write a function that returns true if given binary tree the value of each node is equal to sum of the nodes present in its left subtree and right subtree.

No comments:

Post a Comment