Find the nth to last element of a singly linked list. The minimum number of nodes in list is n. Find the nth to last element of a singly linked list. ...
分类:
其他好文 时间:
2016-07-03 07:01:32
阅读次数:
171
Given a linked list, remove the nth node from the end of list and return its head. Notice The minimum number of nodes in list is n. Have you met this ...
分类:
其他好文 时间:
2016-07-03 06:56:13
阅读次数:
121
mysql 经典面试题 (2011-10-26 17:13:38) 转载▼ mysql 经典面试题 转载▼ 标签: 杂谈 分类: 日志 杂谈 1、用两种方式根据部门号从高到低,工资从低到高列出每个员工的信息。 employee: eid,ename,salary,deptid; select * f ...
分类:
数据库 时间:
2016-07-01 19:51:38
阅读次数:
425
建立主外键的constraint create table emp1(emp_no number(2) constraint emp_emp_no_pk primary key,ename varchar2(15),salary number(8,2),mgr_no number(2) constr ...
分类:
其他好文 时间:
2016-06-30 14:26:14
阅读次数:
319
Oracle获取当前日期及日期格式获取系统日期:SYSDATE()格式化日期:TO_CHAR(SYSDATE(),‘YY/MM/DDHH24:MI:SS)或TO_DATE(SYSDATE(),‘YY/MM/DDHH24:MI:SS)格式化数字:TO_NUMBER注:TO_CHAR把日期或数字转换为字符串TO_CHAR(number,‘格式‘)TO_CHAR(salary,‘$99,999.99‘)TO_CHAR(da..
分类:
数据库 时间:
2016-06-25 23:14:10
阅读次数:
251
总结: 伪类中的子元素选择器: 第一种类型: :first-child :last-child :nth-child() :nth-last-child() 第二种类型: :only-child :only-of-type 第三种类型: :first-of-type :nth-last-of-typ ...
分类:
Web程序 时间:
2016-06-24 22:00:01
阅读次数:
118
选取指定类型(p)父元素下的第几个子元素: 实例: ...
分类:
Web程序 时间:
2016-06-24 20:18:20
阅读次数:
623
选取指定(p)父元素下的从后向前数的指定第一个子元素(无关目标元素在父元素中所处的位置): 实例: ...
分类:
Web程序 时间:
2016-06-24 20:15:30
阅读次数:
204
选取匹配其父元素下的第N个子或奇偶元素: 实例: ...
分类:
Web程序 时间:
2016-06-24 12:36:46
阅读次数:
880
(1)直接量语法 var emp1 = { ename : "Tom", "salary": 3500 } (2)使用new调用构造方法 var emp2 = new Object(); (3)使用Object.create(prototype)方法 var emp3 = Object.create ...
分类:
其他好文 时间:
2016-06-21 22:29:02
阅读次数:
161