题目描述:Given a linked list, remove the nth node from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. A...
分类:
编程语言 时间:
2015-05-10 18:50:34
阅读次数:
152
Problem:
Given a linked list, remove the nth node from the end of list and return its head.
For example,
Given linked list: 1->2->3->4->5, and n = 2.
After removing the second node fro...
分类:
编程语言 时间:
2015-05-10 17:24:23
阅读次数:
124
在Oracle10g及以前版本的sqlplus中,不能直接显示blob或者bfile类型的数据:
SQL> create table t(b blob);
Table created.
SQL> insert into t values('1');
1 row created.
SQL> select * from t;
SP2-0678: Column or attribute ty...
分类:
数据库 时间:
2015-05-10 17:22:19
阅读次数:
166
OpenCV入门 - Ubuntu 12.04 安装OpenCV
本来打算在Ubuntu 12.04上安装opencv 3.0的,结果发生了下面(2)中的错误,不知如何解决,所以最后还是老老实实安装opencv 2.4.
(1)编译时出现错误:
In file included from /home/vonzhou/Downloads/opencv-3.0.0-rc1/modules...
分类:
系统相关 时间:
2015-05-10 17:18:19
阅读次数:
354
执行Maven Install打包的时候,出现以下错误信息:[proguard] Error: Unsupported java version '1.8' in line 2 of file 'F:\Workspaces\pro-test\proguard.conf',
[proguard] included from argument number 6这是因为在proguard.conf文...
分类:
编程语言 时间:
2015-05-10 17:16:12
阅读次数:
202
puppetmaster启动失败,提示:Error: Could not configure routes from /etc/puppet/routes.yaml: Could not find terminus puppetdb for indirection facts安装以下软件即可:apt...
分类:
其他好文 时间:
2015-05-10 17:08:45
阅读次数:
458
from selenium import webdriverimport timea=[] #创建一个空列表用于存储查询到的元素组driver = webdriver.Firefox()driver.get("http://mail.126.com/")#定位126邮箱标题上“免费邮|企业邮箱|VI...
分类:
编程语言 时间:
2015-05-10 17:02:40
阅读次数:
288
sql语句,怎么查看一个表中的所有约束,比如,一个student表,有唯一,外键,主键,用sql语句怎么查看student表中的所有约束呢?select * from sysobjects where parent_obj in(select id from sysobjects where nam...
分类:
数据库 时间:
2015-05-10 16:56:03
阅读次数:
136
delete from tb1 where id in(select t2.minnum from(select MIN(t1.id) as minnum,t1.col1 as ars ,COUNT(1) as cx from tb1 t1 group by t1.col1)t2)select * ...
分类:
数据库 时间:
2015-05-10 16:56:00
阅读次数:
155
Problem Description
ACboy has N courses this term, and he plans to spend at most M days on study.Of course,the profit he will gain from different course depending on the days he spend on it.How to arr...
分类:
其他好文 时间:
2015-05-10 15:49:01
阅读次数:
206