Examveda

Consider a situation of writing a binary tree into a file with memory storage efficiency in mind, is array representation of tree is good?

A. yes because we are overcoming the need of pointers and so space efficiency

B. yes because array values are indexable

C. No it is not efficient in case of sparse trees and remaning cases it is fine

D. No linked list representation of tree is only fine

Answer: Option C


This Question Belongs to Data Structure >> Binary Search Trees(B Tree)

Join The Discussion

Related Questions on Binary Search Trees(B Tree)