显隐伪类选择器 :hidden :visible能够根据元素的可见或隐藏进行快速过滤 子元素伪类选择器是通过当前匹配元素选择该元素包含的特定子元素。注意,后面将介绍到:eq(index)选择器,该选择器只能够匹配一个元素,而:nth-child能够为每一个父元素匹配子元素。而:nth-child是从 ...
分类:
Web程序 时间:
2016-05-29 00:44:17
阅读次数:
229
下面我们来了解一下css选择器里面的几个 我们可以使用 :nth-child(n) 来自动判断第4个css代码如下 ...
分类:
Web程序 时间:
2016-05-25 21:56:06
阅读次数:
182
2.1 关系数据库的结构 关系数据库由表(table)的集合构成,每个表有唯一的名字。例如,instructor表记录了有关教师的信息,它有四个列首:ID、name、dept_name和salary。该表中每一行记录了一位教师的信息,包括该教师的ID、name、dept_name以及salary。类 ...
分类:
其他好文 时间:
2016-05-25 08:14:48
阅读次数:
1674
题目链接:https://leetcode.com/problems/super-ugly-number/题目:
Write a program to find the nth super ugly number.Super ugly numbers are positive numbers whose all prime factors are in the given prime list...
分类:
其他好文 时间:
2016-05-23 15:17:20
阅读次数:
127
伪类分为两种:UI伪类 与 结构化伪类 UI伪类:a:link{} a:hover{} a:active{} a:visited{} input[type='text']:focus{} #title-one:target{} 结构化伪类: table tr:nth-child(even){} // ...
分类:
Web程序 时间:
2016-05-22 09:36:57
阅读次数:
146
Remove Nth Node From End of List Given a linked list, remove the nth node from the end of list and return its head. For example, Given linked list: 1- ...
分类:
其他好文 时间:
2016-05-20 13:21:27
阅读次数:
117
这题比较简单,方法有很多。其中一种比较有意思的做法是设置两个指针,一个先走n步,然后再一起走。一个到了末尾,另一个也就确定了要删除元素的位置。 ListNode *removeNthFromEnd(ListNode *head, int n) { ListNode dummy{-1, head}; ...
分类:
其他好文 时间:
2016-05-19 14:58:32
阅读次数:
114
题目信息1090. Highest Price in Supply Chain (25)时间限制200 ms
内存限制65536 kB
代码长度限制16000 B
A supply chain is a network of retailers(零售商), distributors(经销商), and suppliers(供应商)– everyone involved in moving a...
分类:
其他好文 时间:
2016-05-18 19:33:23
阅读次数:
144
题目链接:https://leetcode.com/problems/second-highest-salary/题目:
Write a SQL query to get the second highest salary from the Employee table.+—-+——–+
| Id | Salary |
+—-+——–+
| 1 | 100 |
| 2 | 200...
分类:
其他好文 时间:
2016-05-18 18:56:28
阅读次数:
137