cosmos icon indicating copy to clipboard operation
cosmos copied to clipboard

Red-black Tree

Open agkanos opened this issue 9 years ago • 4 comments

Basically, a self-balancing binary tree: https://en.wikipedia.org/wiki/Red%E2%80%93black_tree

I can do the Java implementation :)

agkanos avatar Oct 06 '17 06:10 agkanos

Sure. Go for it 👍

AdiChat avatar Oct 06 '17 06:10 AdiChat

Can I try to implement this in C++ ? @AdiChat

RajatGarg97 avatar Oct 06 '17 09:10 RajatGarg97

Sure @RajatGarg97 Go for it 👍

AdiChat avatar Oct 06 '17 13:10 AdiChat

I have a pure C implementation that works like a min-heap and has push and pop functions. I wouldn't mind contributing it.

jonnrb avatar Oct 16 '17 18:10 jonnrb