摘要: Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: Note: All inputs will be i 阅读全文
posted @ 2016-09-05 22:51 wangxiaobao1114 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 题目: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). (Medium) Follow up:Could you do this in-place? 阅读全文
posted @ 2016-09-05 22:47 wangxiaobao1114 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 题目: LeetCode46 I Given a collection of distinct numbers, return all possible permutations. (Medium) For example,[1,2,3] have the following permutation 阅读全文
posted @ 2016-09-05 22:40 wangxiaobao1114 阅读(443) 评论(0) 推荐(0) 编辑