Course contentsShow
Computer Science
Lesson 515 of 2,87212. Binary Search TreesPro lesson

Counting Nodes in a BST

Count total nodes recursively by summing 1 plus the counts of left and right subtrees.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.