Y
Hacker News
new
|
ask
|
show
|
jobs
by
c0deb0t
2052 days ago
For binary trees, indexing can be done by saving the subtree size of each node and doing a sort of binary search. Not sure if this is fast for B-trees that have more than 2 children nodes, though.
1 comments
Lichtso
2051 days ago
Do you mean OSTs?
https://en.wikipedia.org/wiki/Order_statistic_tree
link
https://en.wikipedia.org/wiki/Order_statistic_tree