OpenGenus / cosmos

World's largest Contributor driven code dataset | Used in Quark Search Engine, @OpenGenus IQ, OpenGenus Visual Project
http://internship.opengenus.org
GNU General Public License v3.0
13.53k stars 3.66k forks source link

Add Red Black Binary Search Tree #5949

Open ugetshivam opened 3 years ago

ugetshivam commented 3 years ago

This is a(n):

Details:

The tree folder is missing Red Black BST data structure. Red Black Binary Search tree is similar to an AVL tree but in this data structure every operation is guaranteed O(clgn), where c is some constant. It is a very important data structure as every operation is really fast and much easier to understand than AVL tree. I would like to add a Red Black BST written in python.

ugetshivam commented 3 years ago

Could you please assign this issue to me? I would love to work on it.

AdiChat commented 3 years ago

Red Black Tree will be a nice addition. Go for it 👍