Linear structures

Array

A contiguous, indexed collection with direct access. It is the foundation of many other data structures.

Learn with an interactive visualization

Category: Linear structures. Complexity: Access O(1) · Search O(n).

A contiguous, indexed collection with direct access. It is the foundation of many other data structures. Interactive visualization, Java code, operations,…