Matrix Problems
Matrix problems involve 2D grids — traversals, rotations, spiral orders, and path-finding. Many combine with DFS/BFS for island counting, flood fill, and shortest path in a grid.
17 problems
| Title | Difficulty | Platform |
|---|---|---|
| Add Binary | Easy | LeetCode |
| Excel Sheet Column Title | Easy | LeetCode |
| Given a matrix of ‘O’ and ‘X’, replace ‘O’ with ‘X’ if surrounded by ‘X’ | Medium | GeeksforGeeks |
| Happy Number | Easy | LeetCode |
| Max Points on a Line | Medium | LeetCode |
| Maximum Product of Three Numbers | Easy | LeetCode |
| Maximum size rectangle binary sub-matrix with all 1s | Medium | GeeksforGeeks |
| Minimum Moves to Equal Array Elements | Easy | LeetCode |
| Missing Number | Easy | LeetCode |
| Number of Islands | Medium | GeeksforGeeks |
| Palindrome Number | Easy | LeetCode |
| Power of Two | Easy | LeetCode |
| Reverse Integer | Easy | LeetCode |
| Rotate Image | Medium | LeetCode |
| Spiral Matrix | Medium | LeetCode |
| The kth Factor of n | Medium | LeetCode |
| Valid Square | Medium | LeetCode |