摘要:
题目: You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-place? 链接: http 阅读全文
posted @ 2015-04-17 23:31
YRB
阅读(497)
评论(0)
推荐(0)
摘要:
题目: Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example,[1,1,2] have the following uniqu 阅读全文
posted @ 2015-04-17 23:30
YRB
阅读(575)
评论(0)
推荐(0)
摘要:
题目: Given a collection of numbers, return all possible permutations. For example,[1,2,3] have the following permutations:[1,2,3], [1,3,2], [2,1,3], [2 阅读全文
posted @ 2015-04-17 23:28
YRB
阅读(1528)
评论(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 m 阅读全文
posted @ 2015-04-17 23:25
YRB
阅读(405)
评论(0)
推荐(0)
摘要:
题目: Implement wildcard pattern matching with support for '?' and '*'. 链接: http://leetcode.com/problems/wildcard-matching/ 题解: 这道题是一刷里放弃的6道题中第一道。看过<挑战程 阅读全文
posted @ 2015-04-17 23:24
YRB
阅读(819)
评论(0)
推荐(0)
摘要:
题目: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non 阅读全文
posted @ 2015-04-17 23:23
YRB
阅读(870)
评论(0)
推荐(0)
摘要:
题目: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after rain 阅读全文
posted @ 2015-04-17 23:22
YRB
阅读(422)
评论(0)
推荐(0)
摘要:
题目: Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algorit 阅读全文
posted @ 2015-04-17 23:20
YRB
阅读(309)
评论(0)
推荐(0)
摘要:
题目: Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each 阅读全文
posted @ 2015-04-17 23:19
YRB
阅读(464)
评论(0)
推荐(0)
摘要:
题目: Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same re 阅读全文
posted @ 2015-04-17 23:18
YRB
阅读(1749)
评论(0)
推荐(0)

浙公网安备 33010602011771号