Y
Hacker News
new
|
ask
|
show
|
jobs
by
ghj
2111 days ago
Yes actually. Both c++ and java have red black trees. In c++ it's std::set, in java it's TreeSet.
BST supports log(n) min/max/inserts/removes (among other stuff).