[LeetCode] 59. Spiral Matrix II 2019-01-14 07:00:28 Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. 阅读全文
[LeetCode] 867. Transpose Matrix 2018-12-31 16:00:14 The transpose of a matrix is the matrix flipped over it's main diagonal, switching the row and column indices of the matrix. 阅读全文
[LeetCode] 51. N-Queens 2018-12-30 18:00:25 The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other. 阅读全文