Answer the question
In order to leave comments, you need to log in
Storing trees as adjacency lists?
How can a tree be stored as an adjacency list?
I'm going to create an array of pointers to two-element arrays that store the indexes of the left and right subtrees!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question