L
L
l2p2014-11-08 22:47:29
Programming
l2p, 2014-11-08 22:47:29

How can I edit and delete a specific element in a binary tree?

pastebin.com/6y6r989i
Need help editing and removing a specific element from the tree. By reference - tree class, which has a search, adding and deleting the entire tree. You need to do editing with passing der->info->getId() - element id and deletion also with passing ID. Tell me what links are possible about this, I have been looking for how to do it for 2 months now.
If anyone can write, I'm ready to give you a beer (I will give additional information in personal correspondence).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Ezhgurov, 2014-11-08
@eandr_67

Perhaps you'd like to read Knuth's classic "The Art of Programming" first? To avoid asking more questions about elementary algorithms that any student who has taken a programming course should know.
This task is in most quality programming textbooks (manuals for writing shit code in the spirit of "master in 30 days" are not by definition). And, of course, there is in any reference book on algorithms. I don’t understand what it was possible to look for here for 2 months?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question