A dynamic array stores a sequence in a block of memory larger than needed. Its size is the number of elements, its capacity the number of cells in the block. Adding an element to a full array first moves the elements to a larger block, whose capacity is a constant factor larger.
Computer Science · المسرد
ما معنى Dynamic array, size and capacity؟
يُعرف أيضًا باسم: dynamic array · size (of a dynamic array) · capacity (of a dynamic array)