2014年11月3日
摘要: 这题和那题类似,这题更简单。我当初就做了这题。当初的代码如下:class Solution {public: bool canJump(int A[], int n) { if (n canReach) return false; ... 阅读全文
posted @ 2014-11-03 00:18 higerzhang 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 题目:螺旋输出数组(听师兄说是今年google电话面试题)Given a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the fo... 阅读全文
posted @ 2014-11-03 00:08 higerzhang 阅读(306) 评论(0) 推荐(0) 编辑