+1 vote
in Data Structures & Algorithms I by (110k points)
What is meant by physical size in a dynamic array?

(a) The size allocated to elements

(b) The size extended to add new elements

(c) The size of the underlying array at the back-end

(d) The size visible to users

The origin of the question is Dynamic Array in division Arrays Types of Data Structures & Algorithms I

The question was asked during an interview.

1 Answer

+1 vote
by (408k points)
selected by
Best answer
The correct option is (c) The size of the underlying array at the back-end

Explanation: Physical size, also called array capacity is the size of the underlying array, which is the maximum size without relocation of data.

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.