The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is read off as"tw...
分类:
其他好文 时间:
2014-06-25 12:21:32
阅读次数:
235
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x.You should preserve the o...
分类:
其他好文 时间:
2014-06-25 12:14:23
阅读次数:
159
Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephon...
分类:
其他好文 时间:
2014-06-25 12:09:43
阅读次数:
184
这题看是否这题能A是侥幸,解决的办法是先存一下输入的字符串,进行排序。Problem DescriptionAn encoding of a set of symbols is said to be immediately decodable if no code for one symbol is...
分类:
其他好文 时间:
2014-06-25 11:46:47
阅读次数:
248
1 overload a operator of a class, you can only use one para., this pointer is automatically used. class Rational { public: //not correct sinc...
分类:
其他好文 时间:
2014-06-25 11:11:37
阅读次数:
194
.children() 获得元素集合中每个匹配元素的子元素,选择器选择性筛选。 Hello Hello Again And Again And One Last Time .closest()从元素本身开始,在DOM 树上逐级向上级元素匹配,并返回最先匹配的祖先元素。.closest().paren...
分类:
Web程序 时间:
2014-06-25 11:03:57
阅读次数:
264
题目链接You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a conca...
分类:
其他好文 时间:
2014-06-25 09:42:27
阅读次数:
230
1、连接
SQL*Plus system/manager
2、显示当前连接用户
SQL> show user
3、查看系统拥有哪些用户
SQL> select * from all_users;
4、新建用户并授权
SQL> create user a identified by a;(...
分类:
数据库 时间:
2014-06-25 07:33:46
阅读次数:
365
【题目】
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find the total sum of all root-to-leaf numbers.
For example,
1
...
分类:
其他好文 时间:
2014-06-25 07:32:27
阅读次数:
209
oracle 11g 中 (oracle 10g) crsctl 的 替换命令
Deprecated Command
Replacement Commands
crs_stat
crsctl check cluster -all
crsctl stat re...
分类:
数据库 时间:
2014-06-25 07:15:02
阅读次数:
379