Id | Title | Solution | Time | Runtime | Space | Difficulty | Catagory |
---|---|---|---|---|---|---|---|
0048 | Rotate Image | Java | O(n*n) | 2ms | O(1) | Medium | Matrix |
0054 | Spiral Matrix | Java | O(m*n) | 2ms | O(m*n) | Medium | Matrix |
0059 | Spiral Matrix II | Java | Medium | Matrix | |||
0073 | Set Matrix Zeroes | Java | O(m*n) | 1ms | O(1) | Medium | Matrix |
0240 | Search a 2D Matrix II | Java | O(n + m) | 13MS | O(1) | Medium | Matrix |
0279 | Perfect Squares | Java | O(n + m) | 13MS | O(1) | Medium | Matrix |
0427 | Construct Quad Tree | Java | - | - | - | Easy | Matrix |
0498 | Diagonal Traverse | Java | - | - | - | Medium | Matrix |
0566 | Reshape the Matrix | Java | O(n*m) | 7MS | O(n*m) | Easy | Martix |
0598 | Range Addition II | Java | O(n) | 6MS | O(1) | Easy | Matrix |
0661 | Image Smoother | Java | O(m*n) | 27MS | O(m*n) | Easy | Matrix |