Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ScottBurson
on Sept 11, 2011
|
parent
|
context
|
favorite
| on:
Treaps: A Simple Balanced Binary Tree
Keeping the element counts gives you something called weight-balanced binary trees. Here's a paper on them by Stephen Adams:
http://groups.csail.mit.edu/mac/users/adams/BB/
I used a variation on these for my FSet functional collections library for Common Lisp.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: