Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   How to make this tree (http://www.go4expert.com/forums/tree-t4586/)

george.ramya 6Jun2007 22:09

How to make this tree
 
I have to make this tree for an assignment which is m-ary,let m be 10.
Assuming each node has just one info field, the value of each parent node should also be stored in its leftmost child.The children of each node are in ascending order from left to right. Also all the leaf nodes should form a doubly linked list...
Can someone please tell me how to do insertion,deletion and search operations for such a tree or can atleast tell me its name so that i can search for the same.

DaWei 7Jun2007 01:47

Re: How to make this tree
 
Have a look at general trees.


All times are GMT +5.5. The time now is 23:27.