Question DSA-BST-139
MediumA BST is built by inserting 40, 20, 60, 10, 30, 50, 70, 25. What is the height (number of levels)?
- A.
4
- B.
3
- 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 40, 20, 60, 10, 30, 50, 70, 25. What is the height (number of levels)?
4
3
Sign up free to see the answer and a step-by-step explanation.
5
8