Learn Before
Concept
Treap
Like the name suggests, a treap is a combination of a binary search tree and a heap. Treap nodes contain data that is organized tree-style and a priority number that is organized heap-style. The purpose of a treap is to perform operations quickly, in logarithmic time.
0
1
Updated 2021-07-06
Tags
Python Programming Language
Data Science