Combination Sum:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.The...
分类:
其他好文 时间:
2014-06-28 22:48:01
阅读次数:
256
len is a build-in function that returns the numbers of characters in a string: Since we started counting at zero, the last index should be 5...
分类:
其他好文 时间:
2014-06-21 08:17:22
阅读次数:
243
Triangle:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, give...
分类:
其他好文 时间:
2014-06-21 07:02:07
阅读次数:
203
Description:Given a set of candidate numbers (C) and a target number (T), find all unique combinations inCwhere the candidate numbers sums toT.Thesame...
分类:
其他好文 时间:
2014-06-21 06:55:48
阅读次数:
200
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 repeate...
分类:
其他好文 时间:
2014-06-20 23:37:29
阅读次数:
195
5.1 You are given two 32-bit numbers, N andM, and two bit positions, i and j. Write a method to insert M into Nsuch that M starts at bit j and ends at...
分类:
其他好文 时间:
2014-06-20 13:51:09
阅读次数:
149
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-06-18 10:17:40
阅读次数:
174
Palindrome Partitioning II
分类:
其他好文 时间:
2014-06-18 10:04:30
阅读次数:
219
Given a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the following unique perm...
分类:
其他好文 时间:
2014-06-18 09:33:28
阅读次数:
181
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2014-06-17 23:38:04
阅读次数:
341