170 likes | 473 Views
What is a Red-Black Tree?. Other than being a Binary Search Tree it has these specialcoloring properties:. 1. Every node is colored either red or black.2. The root is always black.3. If a node is red, its children must be black.4. Every path from a node to a null reference must containthe same number of black nodes..
E N D
1. Analysis of Red-Black Tree
2. What is a Red-Black Tree?
3. Rule #4
4. More on Coloring
5. Now to Insert a node
6. Insertion
7. Insertion
8. Insertion
9. When Inserting a Node
10. Deleting a Node
11. Deleting a Node
12. Deleting a Node
13. Deleting a Node
14. Deleting a Node
15. Deleting a Node
16. Deleting a Node
17. Java Demo
18. Review for Quiz