Random commentary about Machine Learning, BigData, Spark, Deep Learning, C++, STL, Boost, Perl, Python, Algorithms, Problem Solving and Web Search
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