State the demerits of linked representation of binary trees.
2 years ago
Data Structure and Algorithm
- Given a node structure, it is difficult to determine its parent node
- Memory spaces are wasted for storing null pointers for the nodes, which have one or no sub-trees
- It requires dynamic memory allocation, which is not possible in some programming language
Sanisha Maharjan
Jan 23, 2022