0

Matrix

Two dimensional grids: traversal orders, rotations and in-place tricks.

Newinterview weight 5513 problems0 visualisers
18
mastery
Attempts logged
0
Predicted success on the next one
33%
Solved here
0 / 13

What you actually need to hold in your head

  • Transpose then reverse rotates by 90 degrees
  • Layer by layer spiral traversal
  • Use row zero and column zero as marker storage
  • Flatten an index as r times cols plus c
Comfortable with these first
Next in the path
Intervals

Patterns in this topic

The trigger phrases are what you are training yourself to notice.

Matrix problems

Ordered by sheet phase, so the early ones are the highest signal.

0 / 13 solved
1
2
3
4
5
6
7
8
9
10
11
12
13