Mental Model
When a cell in a matrix is zero, set its entire row and column to zero without using extra space.
Analogy: Imagine a grid of lights where if one light goes off, the whole row and column of lights must also turn off, but you only have one small notebook to remember which rows and columns to turn off.
Matrix before: 1 2 3 4 0 6 7 8 9 We mark row 1 and column 1 to zero later.
