Of the following tree structure, which is, efficient considering space and time complexities?

(a) Incomplete Binary Tree

(b) Complete Binary Tree

(c) Full Binary Tree

(b) Complete Binary Tree.



Of the following tree structure, which is, efficient considering space and time complexities? (a)..

Answer / sandeep vimal

By the method of elimination:

Full binary tree loses its nature when operations of insertions and deletions are done. For incomplete binary trees, extra storage is required and overhead of NULL node checking takes place. So complete binary tree is the better one since the property of complete binary tree is maintained even after operations like additions and deletions are done on it.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

Tell me about circular linked list?

0 Answers  


What is queue in data structure?

0 Answers  


State the merits of linear representation of binary trees?

0 Answers  


How can you insert a node at the end of linked list?

0 Answers  


What is the maximum size of array?

0 Answers  






What do you mean by articulation point?

0 Answers  


Which interfaces are implemented by abstractsequentiallist?

0 Answers  


Does arraylist allow null values?

0 Answers  


Define structure property in a heap?

0 Answers  


What differences exist between hashmap and hashtable?

0 Answers  


What is difference between concurrenthashmap and hashtable?

0 Answers  


What is frozenset?

0 Answers  


Categories