Basic Syntax

Array

English

Overview

A data structure that stores multiple values arranged in order.

Details

A data structure that stores elements of the same type laid out in contiguous memory, notable for fast index-based access. Appending to the end is typically O(1), but inserting or removing an element at the front or middle costs O(n) because the remaining elements must be shifted.

More Programming terms