InterviewSolution
Saved Bookmarks
| 1. |
The size of the dynamic array is deallocated if the array size is less than _________% of the backend physical size.(a) 30(b) 40(c) 10(d) 20This interesting question is from Dynamic Array topic in division Arrays Types of Data Structures & Algorithms IThis question was addressed to me by my school teacher while I was bunking the class. |
|
Answer» RIGHT option is (a) 30 Best explanation: The size of the dynamic array is decreased/deallocated if the actual size of the array is less than 30% of the backend physical size. This is USED to AVOID memory wastage. |
|