Question DSA-SRCH-0060
MediumWhat is the worst-case time of searching an unbalanced BST built by inserting sorted values?
- A.
O(log n)
- B.
O(n log n)
- 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
Searching and Binary Search question
What is the worst-case time of searching an unbalanced BST built by inserting sorted values?
O(log n)
O(n log n)
Sign up free to see the answer and a step-by-step explanation.
O(n)
O(1)