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
Consider a situation of writing a binary tree into a file with memory storage efficiency in mind, is array representatio
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider a situation of writing a binary tree into a file with memory storage efficiency in mind, is array representatio
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!