14 problems
Matrix interview problems
14 Matrix problems, from easy to hard. Each one has an editorial explaining the approach and its complexity, and a visualizer that runs the solution step by step on the example input or your own.
Easy (1)
- 293. Flood FillEasy
Medium (13)
- 34. Valid SudokuMedium
- 45. Rotate ImageMedium
- 51. Spiral MatrixMedium
- 56. Spiral Matrix IIMedium
- 70. Set Matrix ZeroesMedium
- 205. Game of LifeMedium
- 243. Pacific Atlantic Water FlowMedium
- 246. Construct Quad TreeMedium
- 261. Diagonal TraverseMedium
- 284. Max Area of IslandMedium
- 304. Image OverlapMedium
- 344. Check if There is a Valid Path in a GridMedium
- 361. Rotating the BoxMedium