摘要: 54:Spiral Matrix 螺旋矩阵 Given a matrix of m x n elements ( m rows, n columns), return all elements of the matrix in spiral order. 给定一个包含 m x n 个元素的矩阵( m 阅读全文
posted @ 2019-06-25 14:23 爱写Bug 阅读(135) 评论(0) 推荐(0)
摘要: 118:Pascal's Triangle 杨辉三角 Given a non negative integer numRows , generate the first numRows of Pascal's triangle. 给定一个非负整数 numRows, 生成杨辉三角的前 numRows 阅读全文
posted @ 2019-06-25 14:22 爱写Bug 阅读(125) 评论(0) 推荐(0)