Red Black Tree

Red Black Tree Properties

Red Black Tree Insertions Steps

  1. Insert new key using BST insertion algorithm
  2. Color the new node red
  3. Check Red-Black Tree properties and restore if necessary
  4. Restore Steps