Question DSA-BST-142
MediumWhat is the average-case height of a BST built from n keys inserted in random order?
- A.
O(1)
- B.
O(√n)
- C.
O(log n)
- D.
O(n)
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 the average-case height of a BST built from n keys inserted in random order?
O(1)
O(√n)
O(log n)
O(n)
Sign up free to see the answer and a step-by-step explanation.