Question DSA-BST-140
MediumDeleting 20 from the BST built from 40, 20, 60, 10, 30, 50, 70, 25 (using the inorder successor). What replaces 20?
- A.
30
- 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
Deleting 20 from the BST built from 40, 20, 60, 10, 30, 50, 70, 25 (using the inorder successor). What replaces 20?
30
40
Sign up free to see the answer and a step-by-step explanation.
10
25