Content deleted Content added
No edit summary |
|||
Line 1:
A '''dynamic array''', '''growable array''', '''resizable array''', '''dynamic table''', or '''array list''' is a [[data structure]], an [[array]] which is automatically expanded to accommodate new objects if filled beyond its current size. It may also automatically deallocate some of its unused space to save memory.
Note that in this article, a dynamic array is not the same thing as a [[dynamic memory allocation|dynamically-allocated]] array, which is just an ordinary fixed-size array whose size is selected at runtime.
|