The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors the elev ...
分类:
其他好文 时间:
2016-07-30 09:13:48
阅读次数:
133
今天看到一个老兄的问题, 大概如下: 查询出部门的最低工资的userid 号 表结构: D号 工资 部门 userid salary dept 1 2000 1 2 1000 1 3 500 2 4 1000 2 有一个高人给出了一种答案: SELECT MIN (salary) OVER (PAR ...
分类:
其他好文 时间:
2016-07-29 18:30:43
阅读次数:
119
1 CSS3 结构伪类选择器 1.E:root 匹配E元素所在的根元素 即:html 2. E:nth-child(n) (1)匹配E元素的父元素中第n个子元素,(2)且该位置的子元素类型必须是E类型。否则无效 p:nth-child(1){color:red} <div> <p>这是红色的<p> ...
分类:
Web程序 时间:
2016-07-25 16:24:50
阅读次数:
228
1.E:first-child :作为父元素的第一个子元素的元素E。与E:nth-child(1)等同。 2.E:last-child :作为父元素的最后一个子元素的元素E.与E:nth-last-child(1)等同。 3.E:root :选择匹配元素E所在文档的根元素。 4.E F:nth-ch ...
分类:
Web程序 时间:
2016-07-25 01:34:54
阅读次数:
134
nth-child()选择器:CSS3新属性 用法:p:nth-child(2) 选择p标签的父元素 的第二个子元素,并且这个子元素必须是p才起作用 有点绕,有点无厘头,举个栗子: 上述代码中哪个变红?——都不变红,因为p的父元素,即body,的第二个子元素是h1,不是p,样式不生效 改变一点点(选 ...
分类:
Web程序 时间:
2016-07-24 20:44:19
阅读次数:
188
one good turn deserves another 礼尚往来 gets a good salary 有一份很好的薪水 never pays it back 从不归还 deserve 应得的 lawyer 律师 immediately 立刻马上 There aren’t enough cha ...
分类:
其他好文 时间:
2016-07-24 11:58:02
阅读次数:
123
第1章 单链表 1.1 删除单链表中的结点 203 Remove Linked List Elements 83 Remove Duplicates from Sorted List 82 Remove Duplicates from Sorted List II 19 Remove Nth Nod ...
分类:
其他好文 时间:
2016-07-23 00:34:27
阅读次数:
178
Linked List Cycle、 Linked List Cycle II、 Remove Nth Node from End of List、 Intersection of Two Linked Lists ...
分类:
其他好文 时间:
2016-07-22 08:48:10
阅读次数:
1332
视频讲解 http://v.youku.com/v_show/id_XMTY1MTMzNjAyNA==.html (1)定义两个指针 ListNode fast = head; ListNode slow = head; (2)将快指针向前移动N步 (3.1)判断此时快指针是否已经到达尽头,如果是, ...
分类:
其他好文 时间:
2016-07-20 21:15:11
阅读次数:
121
Remove Linked List Elements、 Remove Duplicates from Sorted List、 Remove Duplicates from Linked Sorted II、 Remove Nth Node from End of List、 Delete Nod... ...
分类:
其他好文 时间:
2016-07-19 23:37:06
阅读次数:
347