By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,502 Members | 1,186 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,502 IT Pros & 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?

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.