59.Spiral Matrix II
摘要:
题目链接:https://leetcode.com/problems/spiral-matrix-ii/description/ 题目大意:构造蛇形矩阵。 法一:模板模拟。代码如下(耗时2ms): 1 public int[][] generateMatrix(int n) { 2 int[][] 阅读全文
posted @ 2018-03-05 11:31 二十年后20 阅读(122) 评论(0) 推荐(0)
浙公网安备 33010602011771号