People in Mars represent the colors in their computers in a similar way as the Earth people. That is, a color is represented by a 6-digit number, wher...
分类:
其他好文 时间:
2015-02-04 15:55:54
阅读次数:
165
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-02-04 09:32:52
阅读次数:
189
1027. Colors in Mars (20)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YuePeople in Mars represent the colors in their computers in a similar...
分类:
其他好文 时间:
2015-02-03 21:04:50
阅读次数:
136
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone buttons) is given below.
Input:Digit st...
分类:
其他好文 时间:
2015-01-31 20:40:11
阅读次数:
119
聚合,聚合关系是关联关系的一种,聚合是整体和个体之间的关系。Aggregation is used to represent ownership or a whole/part relationship。一般的表现形式是一个类持有另一个类作成员变量来体现,但绝对不可以New它。聚合关系当一个类destory的时候,持有的另一个类不会受到影响。聚合是"has a",有一个,但它不一定只是你自己的,也可以被另的类有。
组合,组合关系是关联关系的一种,是比聚合关系强的关系。它要求普通的聚合关系中代表整体...
分类:
其他好文 时间:
2015-01-31 18:00:54
阅读次数:
341
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...
分类:
其他好文 时间:
2015-01-31 12:05:25
阅读次数:
209
题目链接:Letter Combinations of a Phone
Number
Given a digit string, return all possible letter combinations that the number could represent.
A mapping of digit to letters (just like on the telephone...
分类:
其他好文 时间:
2015-01-30 22:43:16
阅读次数:
175
??
Modeling Structural Relationships
建模结构关系
When you model with dependencies or generalization relationships, you may be modeling classes that represent different levels of importance or d...
分类:
其他好文 时间:
2015-01-30 19:43:44
阅读次数:
142
PSL lines represent alignments, and are typically taken from files generated by BLAT or psLayout. See the BLAT documentation for more details. All of ...
分类:
其他好文 时间:
2015-01-29 22:20:08
阅读次数:
234
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/ gr ...
分类:
其他好文 时间:
2015-01-27 16:25:51
阅读次数:
169