Update README.md
This commit is contained in:
@@ -20,6 +20,7 @@ red-black tree properties are maintained throughout all
|
|||||||
modifications to the data structure:
|
modifications to the data structure:
|
||||||
|
|
||||||
- Each node is either red or black.
|
- Each node is either red or black.
|
||||||
|
- The root node is always black.
|
||||||
- The NULL child pointers are black.
|
- The NULL child pointers are black.
|
||||||
- Both children of every red node are black.
|
- Both children of every red node are black.
|
||||||
- Thus, the parent of a red node must also be black.
|
- Thus, the parent of a red node must also be black.
|
||||||
|
|||||||
Reference in New Issue
Block a user