> For the complete documentation index, see [llms.txt](https://wentao-shao.gitbook.io/leetcode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wentao-shao.gitbook.io/leetcode/matrix.md).

# Matrix

- [Spiral Matrix](https://wentao-shao.gitbook.io/leetcode/matrix/spiral-matrix.md)
- [54.Spiral-Matrix](https://wentao-shao.gitbook.io/leetcode/matrix/spiral-matrix/54.spiral-matrix.md)
- [59.Spiral-Matrix-II](https://wentao-shao.gitbook.io/leetcode/matrix/spiral-matrix/59.spiral-matrix-ii.md)
- [1074.Number-of-Submatrices-That-Sum-to-Target](https://wentao-shao.gitbook.io/leetcode/matrix/1074.number-of-submatrices-that-sum-to-target.md)
- [1292.Maximum-Side-Length-of-a-Square-with-Sum-Less-than-or-Equal-to-Threshold](https://wentao-shao.gitbook.io/leetcode/matrix/1292.maximum-side-length-of-a-square-with-sum-less-than-or-equal-to-threshold.md)
- [240.Search-a-2D-Matrix-II](https://wentao-shao.gitbook.io/leetcode/matrix/240.search-a-2d-matrix-ii.md)
- [296.Best-Meeting-Point](https://wentao-shao.gitbook.io/leetcode/matrix/296.best-meeting-point.md)
- [304.Range-Sum-Query-2D---Immutable](https://wentao-shao.gitbook.io/leetcode/matrix/304.range-sum-query-2d-immutable.md)
- [311.Sparse-Matrix-Multiplication](https://wentao-shao.gitbook.io/leetcode/matrix/311.sparse-matrix-multiplication.md)
- [36.Valid-Sudoku](https://wentao-shao.gitbook.io/leetcode/matrix/36.valid-sudoku.md)
- [363.Max-Sum-of-Rectangle-No-Larger-Than-K](https://wentao-shao.gitbook.io/leetcode/matrix/363.max-sum-of-rectangle-no-larger-than-k.md)
- [37.Sudoku-Solver](https://wentao-shao.gitbook.io/leetcode/matrix/37.sudoku-solver.md)
- [48.Rotate-Image](https://wentao-shao.gitbook.io/leetcode/matrix/48.rotate-image.md)
- [498.Diagonal-Traverse](https://wentao-shao.gitbook.io/leetcode/matrix/498.diagonal-traverse.md)
- [562.Longest-Line-of-Consecutive-One-in-Matrix](https://wentao-shao.gitbook.io/leetcode/matrix/562.longest-line-of-consecutive-one-in-matrix.md)
- [723.Candy-Crush](https://wentao-shao.gitbook.io/leetcode/matrix/723.candy-crush.md)
- [73.Set-Matrix-Zeroes](https://wentao-shao.gitbook.io/leetcode/matrix/73.set-matrix-zeroes.md)
- [835.Image-Overlap](https://wentao-shao.gitbook.io/leetcode/matrix/835.image-overlap.md)
- [939.Minimum-Area-Rectangle](https://wentao-shao.gitbook.io/leetcode/matrix/939.minimum-area-rectangle.md)
- [963.Minimum-Area-Rectangle-II](https://wentao-shao.gitbook.io/leetcode/matrix/963.minimum-area-rectangle-ii.md)
- [986.Interval-List-Intersections](https://wentao-shao.gitbook.io/leetcode/matrix/986.interval-list-intersections.md)
- [Friend Circles](https://wentao-shao.gitbook.io/leetcode/matrix/friend-circles.md)
