Search
Feb 07, 2026, 1 min read
Treap = Heap + Heap + Tree
The power of treaps is that you can split the tree in O(logn).