摘要:
Given an array of strings, group anagrams together. For example, given: , Return: [ ["ate", "eat","tea"], ["nat","tan"], ["bat"] ] Note: All inputs wi 阅读全文
摘要:
You are given an 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up: Could you do this in place? 水题 C++ class Solu 阅读全文
摘要:
Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, have the following unique permutati 阅读全文
摘要:
Given a collection of distinct numbers, return all possible permutations. For example, have the following permutations: [ [1,2,3], [1,3,2], [2,1,3], [ 阅读全文
摘要:
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 maxim 阅读全文