Tuesday, April 12, 2011

Count leaf and non-leaf

Using recursion return the number of leaf nodes and non leaf nodes from a single method without any global variables for a given BST?

No comments: