2019年9月24日

摘要: Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: Input: 3Output:[ [ 1, 2, 3 ], [ 8, 9, 阅读全文
posted @ 2019-09-24 21:32 Jain_Shaw 阅读(134) 评论(0) 推荐(0) 编辑

导航