DescriptionHow many nondecreasing subsequences can you find in the sequence S = {s1, s2, s3, ...., sn} ? For example, we assume that S = {1, 2, 3}, an...
分类:
其他好文 时间:
2015-05-01 21:09:15
阅读次数:
136
Rest Parameters:In ES5, when you don't know how many paramters will be passed in, you can use arguments:let sum = function(){ let result = 0; fo...
分类:
其他好文 时间:
2015-05-01 19:50:49
阅读次数:
157
Can not issue data manipulation statements with executeQuery()
出错地方:st.executeQuery("insert into student values(“1”,“2”,“3”)") ;
如果你的SQL 语句是 update,insert等更新语句,用statement的execute()
...
分类:
其他好文 时间:
2015-05-01 18:44:53
阅读次数:
179
MultipleOutputs: write data to multiple files with customized name, can be used for both map and reduce phase.http://www.lichun.cc/blog/2013/11/how-t....
分类:
其他好文 时间:
2015-05-01 13:16:48
阅读次数:
90
Can you solve this equation?
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 11180 Accepted Submission(s): 5151
Problem Description
...
分类:
其他好文 时间:
2015-05-01 10:46:22
阅读次数:
98
Title:You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you...
分类:
其他好文 时间:
2015-05-01 10:34:59
阅读次数:
151
iPhone4 is so much more than just a new products.I mean this would have a lot of impact on the way in which we can connect with each other.In 2007, ip...
分类:
其他好文 时间:
2015-05-01 09:21:31
阅读次数:
130
It can be inserted anywhere. Note that if you insert it in the beginning the TC will be O(#s +c), but it is also O(#s+ n). Remember that the TC is an ...
分类:
其他好文 时间:
2015-05-01 07:08:22
阅读次数:
225
有时候我们想在本地修改远程已经提交的某个历史,如果我们在本地修改之后,然后push会有问题,比如说我们先看一下现在的状态:
$ git status
On branch dev
Your branch is behind 'origin/dev' by 1 commit, and can be fast-forwarded.
(use "git pull" to update your...
分类:
其他好文 时间:
2015-05-01 00:38:11
阅读次数:
171
开始学习oracle,oracle11g貌似把sqlplusw给去掉了,没法调出,安装数据库时设置的用户名密码登录scott用户显示被锁,解除锁定的方法如下: system用户登录,安装时设置的密码,alter user account scott unlock;select username...
分类:
其他好文 时间:
2015-05-01 00:32:59
阅读次数:
190