+1 vote
in Data Structures & Algorithms I by (110k points)
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) 20

This interesting question is from Dynamic Array topic in division Arrays Types of Data Structures & Algorithms I

This question was addressed to me by my school teacher while I was bunking the class.

1 Answer

+1 vote
by (408k points)
selected by
 
Best 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.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...