What is/are the disadvantages of implementing tree using normal arrays?

Q & ACategory: Data StructureWhat is/are the disadvantages of implementing tree using normal arrays?
Admin Staff asked 4 years ago

What is/are the disadvantages of implementing tree using normal arrays?
a) difficulty in knowing children nodes of a node
b) difficult in finding the parent of a node
c) have to know the maximum number of nodes possible before creation of trees
d) difficult to implement

1 Answers
Admin Staff answered 4 years ago

c) have to know the maximum number of nodes possible before creation of trees