Contiguous memory and index-based O(1) access
referencebeginnerAn array stores its elements back-to-back in memory, so the address of element i can be computed directly (base address + i * element size) — no searching required. That direct computation is why items[i] is O(1).
Remember: Index access is O(1) because the elements sit next to each other in memory, letting the address be computed directly instead of searched for.
See also: list fast ops

