SF
liuqinh2s的专栏
liuqinh2s的专栏
注册登录
关注博客
注册登录
主页
关于
RSS
leetcode讲解--566. Reshape the Matrix
liuqinh2s
2019-01-02
阅读 2 分钟
1.6k
In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.
leetcode讲解--766. Toeplitz Matrix
liuqinh2s
2018-12-30
阅读 2 分钟
1.7k
A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element.
leetcode讲解--885. Spiral Matrix III
liuqinh2s
2018-12-26
阅读 3 分钟
1.8k
On a 2 dimensional grid with R rows and C columns, we start at (r0, c0) facing east.
leetcode讲解--867. Transpose Matrix
liuqinh2s
2018-12-26
阅读 1 分钟
1.4k
The transpose of a matrix is the matrix flipped over it's main diagonal, switching the row and column indices of the matrix.
leetcode讲解--861. Score After Flipping Matrix
liuqinh2s
2018-12-24
阅读 3 分钟
2.2k
A move consists of choosing any row or column, and toggling each value in that row or column: changing all 0s to 1s, and all 1s to 0s.
leetcode讲解--944. Delete Columns to Make Sorted
liuqinh2s
2018-12-17
阅读 2 分钟
2k
We are given an array A of N lowercase letter strings, all of the same length.