0

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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
EArrays
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35