Hey all,
class Node{
Object data;
List children;
}
class Tree{
Node root;
//tree methods
}
I'm terribly confused about how the levels of the tree are formed. If you have a class One, which has-a list of Two, and each of the Two's has a list of Three's, how do you insert the objects within the list per level?
I hope I'm explaining this properly.
Thanks,
-Pengu