State the demerits of linked representation of binary trees?



State the demerits of linked representation of binary trees?..

Answer / Kuvar Sen

1. Inefficient for random access due to the non-contiguous memory allocation of nodes
2. Insertion and deletion operations can be slower because the tree needs to be rebalanced after inserting or deleting a node, especially in AVL trees or red-black trees
3. More memory is required compared to array-based representation due to the overhead for storing pointers

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Can arraylist have duplicates?

1 Answers  


Why is data structure needed?

1 Answers  


Can treemap have null values?

1 Answers  


Which sorting algorithm is worst?

1 Answers  


Explain binary search tree?

1 Answers  


How is a hashset implemented?

1 Answers  


What is definition list?

1 Answers  


What is the most used data structure?

1 Answers  


What is the use of space complexity and time complexity?

1 Answers  


What is a subtree in data structures?

1 Answers  


What are the major data structures used in the rdbms?

1 Answers  


In RDBMS, what is the efficient data structure used in the internal storage representation?

1 Answers  


Categories