R
ruds
Hi,
I want to implement a tree or a linked structure where I can traverse
to the parent of a node also and the same node refers to another data
related to it too.
for example i have a set [0,1,2,3,...10], consider these as levels,
so ) will be at top i.e the root, 1 will be first level, and so on.
each of these levels will again have some branches and some data needs
to be referenced with this too for comparison with another similar
tree of this kind. Also, once I get the comparion of the branch X done
I need to traverse to its parent level and it higher level.
I think TreeMapClass and LinkedHashMapClass will be helpfull to me in
this regard.
This need not be a tree, it can be a linked list too.
Please tell me am i on the right path? Kindly, suggest the
implementation too.
I want to implement a tree or a linked structure where I can traverse
to the parent of a node also and the same node refers to another data
related to it too.
for example i have a set [0,1,2,3,...10], consider these as levels,
so ) will be at top i.e the root, 1 will be first level, and so on.
each of these levels will again have some branches and some data needs
to be referenced with this too for comparison with another similar
tree of this kind. Also, once I get the comparion of the branch X done
I need to traverse to its parent level and it higher level.
I think TreeMapClass and LinkedHashMapClass will be helpfull to me in
this regard.
This need not be a tree, it can be a linked list too.
Please tell me am i on the right path? Kindly, suggest the
implementation too.