File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -702,8 +702,30 @@ Is Binary Search Tree `Coding Files`
702702
703703#### Delete node from Binary Search Tree (BST)
704704
705+ ![ ] ( https://i.imgur.com/Yyfeq6I.png )
705706
707+ There are 3 conditions you should think:
706708
709+ ![ ] ( https://i.imgur.com/gkpFD2Y.png )
710+
711+ Delete where there is no children
712+
713+ ![ ] ( https://i.imgur.com/YaHQ56y.png )
714+
715+ Delete node where there is 1 child
716+
717+ ![ ] ( https://i.imgur.com/sIiArUH.png )
718+
719+ Delete node where there are 2 children
720+
721+ ![ ] ( https://i.imgur.com/e8aMAaA.png )
722+
723+ Delete 15 from BST
724+
725+ ![ ] ( https://i.imgur.com/yqOvCXx.png )
726+
727+ - [ Question] ( https://codepen.io/roopkt/pen/wvJRxJp?editors=0010 )
728+ - [ Answer] ( https://codepen.io/roopkt/pen/rNyovyL?editors=0010 )
707729
708730### Recursion Interview Questions
709731
You can’t perform that action at this time.
0 commit comments