我们的口号是:一天一个类,一点也不累~~再次回忆一下集合相关的类图。官方API上这样介绍这个接口:A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1 ...
分类:
其他好文 时间:
2015-04-23 21:28:32
阅读次数:
204
升级到新版Emacs后,打开出现 Warning (initialization): Your `load-path' seems to contain your `.emacs.d' 警告,解决之...
分类:
系统相关 时间:
2015-04-23 19:58:03
阅读次数:
163
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 ...
分类:
其他好文 时间:
2015-04-21 22:22:16
阅读次数:
128
题目:
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...
分类:
其他好文 时间:
2015-04-21 00:26:35
阅读次数:
134
1 public static class ArrayListHelper 2 { 3 /// 4 /// determine whether the array list contain the sepcific string 5 //...
分类:
其他好文 时间:
2015-04-20 16:27:50
阅读次数:
81
1.python 语法对 空格,缩进有严格要求2.file objects contain a special pair of built-in methods:__enter__()and__exit__() such as: with open("text.txt", "w") as v: .....
分类:
编程语言 时间:
2015-04-20 14:45:23
阅读次数:
181
题目:
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], and [2,1,1].
这...
分类:
其他好文 时间:
2015-04-19 21:29:02
阅读次数:
129
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 ...
分类:
其他好文 时间:
2015-04-19 17:48:57
阅读次数:
127
看看下面的程序有什么问题:BNRItem.h@interface BNRItem : NSObject@property (nonatomic, strong) BNRItem *containedItem;@property (nonatomic, strong) BNRItem *contain...
分类:
其他好文 时间:
2015-04-17 17:35:13
阅读次数:
110
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 ...
分类:
其他好文 时间:
2015-04-17 07:06:41
阅读次数:
136