Treap Dictionary Data Structure
Treaps have the binary search tree
binary tree property
search tree property
Treaps also have the heap-order property!
randomly assigned priorities
15
12
10
30
9
15
7
8
4
18
6
7
2
9
heap in yellow; search tree in blue
priority
key
Legend:
Previous slide
Next slide
Back to first slide
View graphic version