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

Delete Anode

P: 1
Hi
Plz Iwan't The Code Of Deleting One Node From Binary Tree In C Language Plz As Soon As Possible
May 27 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 181
Hi
Plz Iwan't The Code Of Deleting One Node From Binary Tree In C Language Plz As Soon As Possible
If its a leaf you can delete it directly. if you want to delete a non leaf, delete the node and make either left or right child as current node.
May 27 '07 #2

Post your reply

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