1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to make this tree

Discussion in 'C' started by george.ramya, Jun 6, 2007.

  1. george.ramya

    george.ramya New Member

    Joined:
    Jun 6, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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.
     
  2. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    Have a look at general trees.
     

Share This Page