【题目】
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], [1,2,1],
an...
分类:
其他好文 时间:
2014-12-17 12:49:36
阅读次数:
140
传送门:HDU_1542
Atlantis
Problem Description
There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the ...
分类:
其他好文 时间:
2014-12-17 09:11:23
阅读次数:
158
6-1 字符串 .string 模块中是否有一种字符串方法或者函数可以帮我鉴定一下一个字符串是否是另一个大字符串的一部分?#!/usr/bin/env pythondef contain(str1,str2): if str1 in str2: print...
分类:
编程语言 时间:
2014-12-16 14:43:10
阅读次数:
221
DescriptionThere is a array contain N(1#include #include #include #include #include #include #include #include #include #include using namespace std;t...
分类:
其他好文 时间:
2014-12-16 00:48:33
阅读次数:
334
一道非常有意思的题目。
原题如下:
Given a set of distinct integers, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.
The solution set must not contain duplicate subsets.
For example,
If S = [1,2,3], a solution is:
[
[3],
[...
分类:
其他好文 时间:
2014-12-15 19:10:08
阅读次数:
123
Permutations IIGiven a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the follow...
分类:
其他好文 时间:
2014-12-13 19:16:20
阅读次数:
180
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 digit. Add the two numbers and return it as a link...
分类:
其他好文 时间:
2014-12-12 15:01:52
阅读次数:
137
题目描述: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 si...
分类:
其他好文 时间:
2014-12-11 15:35:50
阅读次数:
124
【题目】
Given a collection of integers that might contain duplicates, S, return all possible subsets.
Note:
Elements in a subset must be in non-descending order.The solution set must not con...
分类:
其他好文 时间:
2014-12-10 12:38:33
阅读次数:
196
一下摘自MDN。因时间原因没能好好整理学习,先引用下来,有时间时再细细整理。background-size 设置背景图片大小。/* 关键字 */background-size: coverbackground-size: contain/* 一个值: 这个值指定图片的宽度,图片的高度隐式的为auto...
分类:
Web程序 时间:
2014-12-09 17:22:17
阅读次数:
227