State the merits of linear representation of binary trees.
3 years ago
Data Structure and Algorithm
- Storage method is easy and can be easily implemented in arrays
- When the location of a parent/child node is known, other one can be determined easily
- It requires static memory allocation so it is easily implemented in all programming language
Sanisha Maharjan
Jan 23, 2022