Question DSA-BST-160
HardA BST is built by inserting 1 to 1,000 in increasing order. How many comparisons does searching for 1,000 take?
- A.
500
- B.
10
- 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
A BST is built by inserting 1 to 1,000 in increasing order. How many comparisons does searching for 1,000 take?
500
10
Sign up free to see the answer and a step-by-step explanation.
1
1,000