Arrays intro time O(n) space O(1)
Traverse an Array
Visit each index in order, doing constant work per element — the foundation of almost every array algorithm.
Walk the array left to right — 6 elements.
1 / 8
Practice
Machine twin: /dsa-viz-v2/array-traverse.json — the full deterministic run as structured data.