468,253 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,253 developers. It's quick & easy.

Hi, I want to implement a General Tree Data structure (Not Binary Tree ) which have more than 2 sub nodes?

Hello Friends I have a problem in Data Structure (In C) i want to
emplement a General tree having three child nodes of each parent
node ...please send me any simple Example( code) by which i can
understand General Tree codes.....node be int value if possible than
help me for a name(string)

Oct 30 '07 #1
2 3566
On Oct 30, 11:21 am, sharan <harioumsha...@gmail.comwrote:
Hello Friends I have a problem in Data Structure (In C) i want to
emplement a General tree having three child nodes of each parent
node ...please send me any simple Example( code) by which i can
understand General Tree codes.....node be int value if possible than
help me for a name(string)
Try looking up 'digital search tree', 'trie', 'Patricia tree', and
'suffix tree.'

Your question is not a C question, but an algorithms question.

There is no algorithms group, so the closest thing is
news:comp.programming

Follow-ups set.

Oct 30 '07 #2
sharan <ha***********@gmail.comwrote:
# Hello Friends I have a problem in Data Structure (In C) i want to
# emplement a General tree having three child nodes of each parent
# node ...please send me any simple Example( code) by which i can
# understand General Tree codes.....node be int value if possible than
# help me for a name(string)

Are you asking how to do a data structure, or how to make
an existing data structure polymorphic?

--
SM Ryan http://www.rawbw.com/~wyrmwif/
We found a loophole; they can't keep us out anymore.
Oct 31 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by sugaray | last post: by
25 posts views Thread by prabhat143 | last post: by
7 posts views Thread by abhrajit | last post: by
15 posts views Thread by Foodbank | last post: by
3 posts views Thread by Nick Kiguta | last post: by
22 posts views Thread by delraydog | last post: by
5 posts views Thread by hankypan1 | last post: by
8 posts views Thread by csharpula csharp | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.