S Sheida Nehzati wrote: > does any body know how can I convert General(ordinary)Trees to Binary Trees > With linked List in C++ ? does any body have the Codes in c ++? >
What exactly do you mean by an ordinary tree, something that isn't binary? A B-tree? Or an n-ary tree for any n? What is a binary tree with linked list? I have seen structures that are trees where each node or entry is itself a list, or a hash table that chains entries that share the same index. Is this what you mean? It sounds like in general you just want to move entities from one data structure to another. Iterating a data structure and adding its elements to another is fairly trivial, but I am not quite sure what you are trying to accomplish here. -- John Gaughan
