Difference between revisions of "Array data structure"
From Wiki @ Karl Jones dot com
Karl Jones (Talk | contribs) (→Description) |
Karl Jones (Talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | In [[computer science]], an '''array data structure''' (or simply an '''array''') is a [[data structure]] consisting of a collection of [[elements]] (values or variables), each identified by at least one [[array index]] or [[key]]. | + | 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 == | == Description == | ||
Line 14: | Line 14: | ||
* [[Array data type]] | * [[Array data type]] | ||
+ | * [[Computer program]] | ||
* [[Computer science]] | * [[Computer science]] | ||
* [[Data structure]] | * [[Data structure]] | ||
Line 22: | Line 23: | ||
* [https://en.wikipedia.org/wiki/Array_data_structure Array data structure] @ Wikipedia | * [https://en.wikipedia.org/wiki/Array_data_structure Array data structure] @ Wikipedia | ||
+ | * [https://medium.freecodecamp.com/understanding-array-prototype-reduce-and-recursion-using-apple-pie-f60cde58ea51 Understanding Array.prototype.reduce() and recursion using apple pie] @ freeCodeCamp | ||
+ | |||
+ | [[Category:Computer science]] | ||
+ | [[Category:Data]] | ||
+ | [[Category:Data structures]] |
Latest revision as of 07:36, 30 May 2017
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.
Contents
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
- Array data structure @ Wikipedia
- Understanding Array.prototype.reduce() and recursion using apple pie @ freeCodeCamp