This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Delete a leaf node by simply removing it and updating its parent's pointer to null.
You've completed the free preview. Subscribe to unlock every lesson in every course.