Array data structure

From Wiki @ Karl Jones dot com
Revision as of 08:36, 30 May 2017 by Karl Jones (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In computer science, an array data structure (or simply an array) is a data structure consisting of a collection of data elements (values or variables), each identified by at least one array index or key.

Description

An array is stored so that the position of each element can be computed from its index tuple by a mathematical formula.

The simplest type of data structure is a linear array, also called one-dimensional array.

History

Arrays are among the oldest and most important data structures, and are used by almost every computer program.

See also

External links