Question DSA-BST-129
EasyThe values 50, 30, 70, 20, 40 are inserted in that order into an empty binary search tree. What is the floor of 45 (the largest value ≤ 45)?
- A.
50
- B.
40
- 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
The values 50, 30, 70, 20, 40 are inserted in that order into an empty binary search tree. What is the floor of 45 (the largest value ≤ 45)?
50
40
Sign up free to see the answer and a step-by-step explanation.
45
30