Question DSA-BST-168
HardWhat is a treap?
- A.
A BST on keys that is also a heap on random priorities, giving expected O(log n) height
- B.
A B-tree
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Binary Search Trees question
What is a treap?
A BST on keys that is also a heap on random priorities, giving expected O(log n) height
A B-tree
Sign up free to see the answer and a step-by-step explanation.
A heap of trees
A trie