Y
Hacker News
new
|
ask
|
show
|
jobs
by
hairtuq
2370 days ago
Red-black tree presentations are often more complicated than necessary, mostly because of (premature?) optimizations. A simple presentation can be found here:
https://www.cs.tufts.edu/~nr/cs257/archive/chris-okasaki/red...
I haven't checked how this relates to the code in this library.