棋子

导航

2015年10月16日 #

spiral matrix

摘要: 螺旋遍历!!这道题,之前在一家公司面试见过,当时,依稀记得是使用的递归思想。leetcode上再见该题:参考了一位大神的博客的代码: 1 class Solution { 2 public: 3 vector spiralOrder(vector>& matrix) { 4 ... 阅读全文

posted @ 2015-10-16 01:02 鼬与轮回 阅读(137) 评论(0) 推荐(0) 编辑