Array
A fixed sequence of elements stored in contiguous memory. Think of it like a row of numbered boxes — you can jump to any box instantly using its index.
Random Access O(1)
Insert/Delete O(n)
Fixed Size
Interactive Array — click a cell to highlight, or add/remove values
Click a cell to inspect it.
Access by index
O(1)
Instant! Memory address = start + (index × size)
Search (unsorted)
O(n)
May need to scan every element.
Real-world use
Images
Pixels in an image are stored as a flat array of color values.