6 Matrix

其实题目不多,只是当年跪了亚麻,有点阴影,所以总结一下。题目基本上不难,就是控制边界条件各种烦。

Rotate Matrix:

48 Rotate Image(L161)-- ctci 1.7 Rotate N×N matrix

亚麻题库的rotate matrix -- M x N

Matrix Tranverse:

L185 Matrix Zigzag Traversal (498) -- 偏向BFS

54 Spiral Matrix (L374) -- coding interview Q53 print spiral matrix

59 Spiral Matrix II (L381)

other related:

73 Set Matrix Zeroes (L162)

1380 Lucky Numbers in a Matrix

Last updated