By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,905 Members | 2,083 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,905 IT Pros & Developers. It's quick & easy.

deleting a node from binary tree

P: 1
i have implemented binary tree insertion and deletion using my on coding.
but it was not a tough job till i got confused while deleting a node having both left and right child.I am unable to understand what should be done if such a node is deleted.
Anyone who could help me out.
Aug 13 '07 #1
Share this Question
Share on Google+
1 Reply


Meetee
Expert Mod 100+
P: 931
i have implemented binary tree insertion and deletion using my on coding.
but it was not a tough job till i got confused while deleting a node having both left and right child.I am unable to understand what should be done if such a node is deleted.
Anyone who could help me out.
Hi,

As you have not given your code I cannot tell you what is your confusion. But you can see this link to understand the deletion in binary tree.

http://en.wikipedia.org/wiki/Binary_search_tree

Regards
Aug 13 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.