Red-Black Trees

A Red-Black Tree is a self-balancing binary search tree where each node is either red or black with certain properties.

Core Properties

Structure Diagram

A diagram showing incorrect vs correct Red-Black Trees

You can learn more about the insertion and deletion rules by clicking here: Click Here