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)