Комментарии:
You are wrong on the third case: replacing the node value to be deleted with the smallest node on the right tree not necessarily be the leaf node always. It could be a node with one child that is a right child.
Ответитьbeautiful
ОтветитьThanks!
ОтветитьIt doesn't get any clearer or more concise , thanks for this.
ОтветитьWhat if you were deleting 100 from the BST, but neither the key 95, nor the key 110 were in the tree, your successor is 115 (which now has a left-child node of 120) and you predecessor is now 85 (but it has a left-child node of 80). What happens to these child nodes when you replace 100 with either 115 or 85? I imagine you have to move their pointers?
ОтветитьStraight to the point, simple, and clear. Thank you!
ОтветитьFor clearity, in the case of deleting with 2 children. In the first way we find "inorder successor", and in the second way we find "inorder predecessor"
Ответитьthank you a lot for your understandable explaination
ОтветитьThank you
ОтветитьBest explanation Thanks Bro
ОтветитьReally great video
ОтветитьClear and concise , just what is needed! Thanks a lot.
Ответитьyour intro and your voice is like shit
Ответитьcan you delete 125
Ответитьgood stuff
ОтветитьThanks for the clear and quick explanation! I was struggling to figure out how to do it deleting the root node and this was the one video simple enough that I could understand
ОтветитьShort but helpful video. Thank you very much.
ОтветитьThanks for the knowledge shared.Bless you
ОтветитьThanks for the clear explanation.
Ответить