• Home
  • Learn
  • Feed
  • Ladder
  • Saved
← Roadmapsall matrices problems
🟦

Matrices

Rotate, traverse, scan, and search 2D grids.

5 stops · 75 problems0/64 on the path done
next ▸ Transpose a MatrixSilver · 1050
1

Rotate & reflect

0/16you are here

Quarter turns, transpose, mirror, flip.

○Transpose a Matrix○Flipping an Image○Transpose Matrix○Flip and Invert Image○Mirror Left To Right○Mirror Top To Bottom○Scale Every Cell○Rotate Image○Reflect Across The Diagonal○Half Turn Spin○Rotate Image 90 Degrees○Quarter Turn Clockwise○Mirror Symmetric Check○Quarter Turn Counterclockwise○Spiral Matrix Order○Diagonal Traverse
2

Traversal order

0/11

Spiral, diagonal, snake / boustrophedon walks.

○Main Diagonal Sum○Toeplitz Matrix○Anti-Diagonal Sums○Diagonal Order Traversal○Serpentine Readout○Diagonal Gap○Spiral Matrix○Stairs Readout○Spiral Order Traversal○Unwind The Grid○Spiral Matrix III
3

Scan & aggregate

0/16 of 27

Row/column sums, diagonals, frames, neighbours.

○Maximum Element Per Row○Row With Maximum Sum○Column Sums○Lucky Numbers In A Matrix○Search a 2D Matrix○Image Smoother○Row Total Ledger○Pluck A Column○Find The Town Center○Checkerboard Black Total○Search A Row And Column Sorted Matrix○Count Servers That Communicate○Search a 2D Matrix II○Crossbar Total○Frame Sum○Column Maxima+11 in the arena
4

Regions & search

0/5

Islands, blobs, flood fill, set zeroes, search.

○Count Negatives In A Sorted Grid○Count Negatives○Count Square Submatrices With All Ones○Tally Connected Blobs○Count Islands
5

More Matrices

0/16

Everything else in 2D-grid land — keep climbing.

○Sum of All Elements○Reshape The Matrix○Is Identity Matrix○Grid High Water Mark○Find Winner on Tic Tac Toe○Range Sum Query 2D○Stack Two Grids○Distinct Tiles Count○Shift 2D Grid○Valid Sudoku○Maximal Square Side Length○Kth Smallest Element In A Sorted Matrix○Submatrix Range Sum Queries○Longest Increasing Path○Maximum Path Sum○Number of Submatrices That Sum to Target
🏁Finish line