Arrays
Contiguous memory, O(1) indexing. The substrate every other structure is built on.
Newinterview weight 9535 problems1 visualisers
18
mastery
Attempts logged
0
Predicted success on the next one
33%
Solved here
0 / 35
What you actually need to hold in your head
- Index arithmetic and in-place swaps
- Scanning invariants
- Amortised growth of dynamic arrays
- Cache locality is why arrays beat lists in practice
Watch it run
Step through the algorithm before you write it.
Patterns in this topic
The trigger phrases are what you are training yourself to notice.
Arrays problems
Ordered by sheet phase, so the early ones are the highest signal.
0 / 35 solved