Red-Black Trees
A Self-Balancing Binary Search Tree
Properties of Red Black Trees
Each node is either red or black.
Red nodes cannot have red children.
The root is always black.
Newly inserted nodes are red.
Learn more about Red-Black Trees
here
.