Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might ...
分类:
其他好文 时间:
2017-09-03 13:24:33
阅读次数:
139
购物车程序我的代码组长代码思维导图代码 购物车程序 我的代码 salary = int(input('input your salary:')) shopping_car = [] shopping_list = ['iphone','food', 'book','shirt'] shopping_... ...
分类:
其他好文 时间:
2017-09-03 11:15:52
阅读次数:
187
#form{ } .box{} input[type="text"] ul li:nth-of-type(1){ } /*包含*/ ul li{} /*子对象选择符*/ ul>li{} .div1 span, #div1 span, div div p{ } ...
分类:
Web程序 时间:
2017-09-01 12:57:50
阅读次数:
162
作者Winter 详细解说 STL 排序(Sort) 0 前言: STL,为什么你必须掌握 1 STL提供的Sort 算法 1.1 所有sort算法介绍 1.2 sort 中的比较函数 1.3 sort 的稳定性 1.4 全排序 1.5 局部排序 1.6 nth_element 指定元素排序 1.7 ...
分类:
编程语言 时间:
2017-08-30 20:03:01
阅读次数:
214
:nth-of-type(n) 选择器匹配属于父元素的特定类型的第 N 个子元素的每个元素. n 可以是数字、关键词或公式。 ...
分类:
Web程序 时间:
2017-08-24 15:31:32
阅读次数:
156
<style type="text/css"> li { width: 100%; float: left; } li:first-child:nth-last-child(2), li:first-child:nth-last-child(2)~li,li:first-child:nth-last ...
分类:
Web程序 时间:
2017-08-24 14:59:22
阅读次数:
263
Given a staircase and give you can take 1 or 2 steps at a time, how many ways you can reach nth step. Same problem link. Climbing Stairs ...
分类:
其他好文 时间:
2017-08-22 13:12:47
阅读次数:
127
项目一总结:1、锚点链接为先设置<ahref="#one"></a>再设置跳转目标<hid="ones"></h>;2、可以先设置display:none再设置:target{display:block;}实现跳转显示;3、关于text-indent可以设置首行文本缩进4、关于nth-child(odd)表示属于父类的单数行孩子:..
分类:
Web程序 时间:
2017-08-21 16:34:33
阅读次数:
133
今天为了实现隔行变色,我在css里写: 有一个页面有效果,另一个页面没效果,怎么也找不到原因。。。各种尝试各种清缓存都不行,,,好无奈 然后 wd过来帮我调 他问:js里没写么 我说没啊 他也试着清缓存 不管用。 他说css里这样写不对 odd是js的写法 我突然想起来 我好像在页面的js文件里初始 ...
分类:
其他好文 时间:
2017-08-21 11:56:10
阅读次数:
206
如果对你有用,复制粘贴,拿走不谢~ <style type="text/css">div:nth-child(2n){ background: #4a229a; height: 50px;}div:nth-child(2n+1){ background: #dd172f; height: 50px; ...
分类:
其他好文 时间:
2017-08-19 22:22:40
阅读次数:
126