This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Count total nodes recursively by summing 1 plus the counts of left and right subtrees.
You've completed the free preview. Subscribe to unlock every lesson in every course.