摘要:
题目: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a targe 阅读全文
posted @ 2017-05-07 22:15
Vincent丶丶
阅读(156)
评论(0)
推荐(0)
摘要:
题目: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers s 阅读全文
posted @ 2017-05-07 21:34
Vincent丶丶
阅读(187)
评论(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 @ 2017-05-07 21:33
Vincent丶丶
阅读(192)
评论(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 @ 2017-05-07 21:32
Vincent丶丶
阅读(205)
评论(0)
推荐(0)
摘要:
题目: Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that 阅读全文
posted @ 2017-05-07 21:30
Vincent丶丶
阅读(171)
评论(0)
推荐(0)
摘要:
题目: Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element. For 阅读全文
posted @ 2017-05-07 21:29
Vincent丶丶
阅读(142)
评论(0)
推荐(0)
摘要:
题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sort 阅读全文
posted @ 2017-05-07 21:28
Vincent丶丶
阅读(173)
评论(0)
推荐(0)
摘要:
题目: Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators 阅读全文
posted @ 2017-05-07 21:27
Vincent丶丶
阅读(211)
评论(0)
推荐(0)
摘要:
题目: Given a string that contains only digits 0-9 and a target value, return all possibilities to add binary operators (not unary) +, -, or * between t 阅读全文
posted @ 2017-05-07 21:26
Vincent丶丶
阅读(198)
评论(0)
推荐(0)
摘要:
题目: Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the bal 阅读全文
posted @ 2017-05-07 21:25
Vincent丶丶
阅读(379)
评论(0)
推荐(0)

浙公网安备 33010602011771号