Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
The easy way to implement a Red-Black tree
(opens in new tab)
(garrisonjensen.com)
12 points
garrisonj
11y ago
1 comments
Save
Share
1 comments
1 comments · 1 top-level
top
newest
oldest
nine_k
11y ago
It's fun to compare how much longer is an implementation in an Algol-type language:
https://en.wikipedia.org/wiki/Red%E2%80%93black_tree#Operati...
Pattern-matching goes a really long way.
j
/
k
navigate · click thread line to collapse