Quote:
|
Originally Posted by Jason
actually a node in a linked list depending on how you write the code can have two children using 2 different pointers while another pointer points to the parent giving the illusion of a tree. Thats how I wrote all my trees in java
Jason
|
After suffering through a semester of a data structures course in java in college I have to disagree with you there.
A tree is not a linked list or vice versa.