-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
Add Red Black Tree #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for your interest @Bladefidz ! |
Very sophiscated Red Black Tree implementation that mimic MySQL indexing with extended capability to accept number and string as key. The implementation based on most recent Red Black Tree algorithm, "Left-Leaning Red Black Trees" invented by Robert Sedgewick at 2008. Design of API based on Java implementation by Kevin Wayne (https://github.com/kevin-wayne/algs4/blob/master/src/main/java/edu/princeton/cs/algs4/RedBlackBST.java). Fix issue: trekhleb#29
Red-black tree was added. It lack remove method so far though. |
Ok @trekhleb, will catch it in next week. By the way, our implementation is so different. I will try to adapt your design. |
Hello,
I have once write Red Black Tree in Java and interesting to write another version in Javascript. Anyone have already working on it? If no one, maybe I will pull the Red Black Tree tonight.
Regard,
Hafidz
The text was updated successfully, but these errors were encountered: