Which statement(s) is/are correct regarding node N deletion in binary search…
DSSSB TGT/PGT · 2021 · TGT Computer Science · post code 91/20 · 2021 paper 1 · Section B: subject
Which statement(s) is/are correct regarding node N deletion in binary search tree?
I. If node N has no children then just replace location of N in the parent node by the null pointer.
II. If node N has two children, then replace it by preorder successor.
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 779 students.
Sign up free to check your answer
Sign up freeLoading lesson…