Skip to content

DSA learning path

Matrices & 2-D Arrays

Layer traversal, coordinate transforms and sorted-grid search.

Problems in this path

  1. Spiral Matrix
    Medium · Boundary Simulation
    Open
  2. Rotate a Square Matrix
    Medium · Transpose + Reverse
    Open
  3. Search a Row-and-Column Sorted Matrix
    Medium · Staircase Search
    Open
  4. Set Matrix Zeroes
    Hard · Marker Row and Column
    Open
  5. Diagonal Matrix Traverse
    Medium · Direction Simulation
    Open
  6. Island Perimeter
    Easy · Neighbour Edge Counting
    Open
  7. Transpose a Matrix
    Easy · Coordinate Swap
    Open
  8. Reshape a Matrix
    Easy · Flat Index Mapping
    Open
  9. Toeplitz Matrix Check
    Easy · Diagonal Invariant
    Open
  10. Flood Fill
    Medium · Grid DFS
    Open

Read first