[Home]Array

HomePage | Recent Changes | Preferences

Showing revision 5
Difference (from revision 5 to revision 5) (minor diff, author diff)
(The revisions are identical or unavailable.)
An array is one of the simplest data structures in computer programming. Arrays hold a group of equally sized data elements in a continuous block of memory. Individual elements are accessed by index? using integers (contrast: [associative array]?).

Arrays permit efficient (constant time, O(1)) random access but not efficient insertion and deletion of elements (which are O(n), where n is the size of the array). Compare linked lists which have the opposite trade-off.

Most programming languages have arrays built in.


HomePage | Recent Changes | Preferences
This page is read-only | View other revisions | View current revision
Edited October 26, 2001 1:50 am by 209.157.137.xxx (diff)
Search: