I am hoping that someone can help me on how to build a tree using c#
My basic need is to be able to
1. Define a tree
2. Define a parent node
3. Define children of that parent
4. Create children of a child node.
Consider all the nodes to just be letters
I am trying to build a tree to search for prefix, for example if the prefix is "un" then the parent is "u" and the child is "n".
Can anyone help me with this?
Consider also the following example (maybe it will help?)
Parent / Child /Child
A / B / C
A / C
A / D
B / E
B / F
C / F
C / G