Skip to content

pavankumar5963/Red-Black-Tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Red Black Tree

Description:

A red–black tree is a kind of self-balancing binary search tree. Each node of the binary tree has an extra bit, and that bit is often interpreted as the color (red or black) of the node. These color bits are used to ensure the tree remains approximately balanced during insertions and deletions. Balance is preserved by painting each node of the tree with one of two colors (typically called ‘red’ or ‘black’) in a way that satisfies certain properties, which collectively constrain how unbalanced the tree can become in the worst case. When the tree is modified, the new tree is subsequently rearranged and repainted to restore the coloring properties. The properties are designed in such a way that this rearranging and recoloring can be performed efficiently.

Operation Implemented: 1-> Insertion 2-> Deletion 3-> Search 4-> Find Min 5-> Delete Min 6-> Find Max 7-> Delete Max

About

Operations to be Implemented:Insertion Deletion Search Find Min Delete Min Find Max Delete Max

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published