What must be the ideal size of array if the height of tree is ‘l’?

Q & ACategory: Data StructureWhat must be the ideal size of array if the height of tree is ‘l’?
Admin Staff asked 4 years ago

What must be the ideal size of array if the height of tree is ‘l’?
a) 2l-1
b) l-1
c) l
d) 2l

1 Answers
Admin Staff answered 4 years ago

a) 2l-1