DEV Community

Erik Anderson
Erik Anderson

Posted on

I'm implementing a Red Black Tree in Python

... And you can play with it here:
https://repl.it/@ErikKrisotferA/Red-Black-Tree

Later I'll write a post on the what, how, and why.

Note: I've written code to remove nodes from the tree, but it's buggy so I didn't call it in the main.py file.

[EDIT] The next post in what is rapidly becoming a series is available here.

Top comments (2)

Collapse
 
brandonskerritt profile image
Autumn

Ooooh! Red black trees are super cool. Excited to see what you make of this series!

Collapse
 
datadeverik profile image
Erik Anderson

I'm glad. I've been working on it some more and I've got some exciting stuff coming up!