CARDSTime Limit:1000MSMemory Limit:10000KTotal Submissions:1448Accepted:773DescriptionAlice and Bob have a set of N cards labelled with numbers 1 ... ...
分类:
其他好文 时间:
2014-09-11 22:07:02
阅读次数:
183
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2014-09-11 20:41:12
阅读次数:
111
1 /* 2 题意:给出立方体的每个顶点的坐标(是由源坐标三个数某几个数被交换之后得到的!), 3 问是否可以还原出一个立方体的坐标,注意这一句话: 4 The numbers in the i-th output line must be a permutation o...
分类:
其他好文 时间:
2014-09-11 16:56:02
阅读次数:
157
Triangle
Total Accepted: 17536 Total
Submissions: 65508My Submissions
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row...
分类:
其他好文 时间:
2014-09-11 07:42:01
阅读次数:
194
比如:输入:numbers={2, 7, 11, 15}, target=9输出:index1=1, index2=2 1 public class _003TwoSum { 2 3 public static void main(String[] args) { 4 in...
分类:
编程语言 时间:
2014-09-10 23:41:01
阅读次数:
315
A non-empty zero-indexed array A consisting of N integers is given. Array A represents numbers on a tape.Any integer P, such that 0 &A);that, given a....
分类:
其他好文 时间:
2014-09-09 22:44:39
阅读次数:
482
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-09-09 21:27:19
阅读次数:
194
Problem Description:
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2...
分类:
其他好文 时间:
2014-09-09 16:17:29
阅读次数:
200
HDU 1390 Binary Numbers(数学题)...
分类:
其他好文 时间:
2014-09-09 16:08:09
阅读次数:
187
[leetcode]Add Two Numbers...
分类:
其他好文 时间:
2014-09-09 12:50:08
阅读次数:
185