2014年10月30日
摘要: 题目:给定一个vector,然后里面有若干个字符串的长度和组成的字母是相同的,找出这些字符串记录并返回。顾名思义,也就是抛弃单一的字符串,单一是指没有和它长度相同并且组成的字母也相同的另一个字符串。原题如下:Given an array of strings, return all groups o... 阅读全文
posted @ 2014-10-30 21:17 higerzhang 阅读(216) 评论(1) 推荐(0) 编辑
摘要: 题目:You are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?在原址上进行将矩阵旋转90度。如... 阅读全文
posted @ 2014-10-30 17:24 higerzhang 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your max... 阅读全文
posted @ 2014-10-30 00:33 higerzhang 阅读(299) 评论(0) 推荐(0) 编辑