码迷,mamicode.com
首页 >  
搜索关键字:child    ( 3634个结果
WEB前端使用的CSS3选择器
首先说first-child与last-child,这两个选择器很容易明白,就是父元素下的第一个子元素和最后一个子元素。而nth-child和nth-last-child则是父元素下指定序号的子元素,甚至第偶数个、奇数个子元素精选样式的制定。/*选择器写法示例*/nth-child(n) //正数第...
分类:Web程序   时间:2014-12-05 12:26:19    阅读次数:178
Binary Tree post order traversal
One: Using two stacks, stack to traversal the node, stackr to record the parent node when visiting its right-child; https://oj.leetcode.com/problems.....
分类:其他好文   时间:2014-12-05 00:30:18    阅读次数:158
Codeforces Round #250 (Div. 1)B(排序+并查集)
B. The Child and Zoo time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Of course our child likes walking in a...
分类:编程语言   时间:2014-12-04 21:42:58    阅读次数:283
堆排序(最大堆)
#include "iostream.h" using namespace std; //因为i从0开始 #define LeftChild(i) (2*(i)+1) //i-N范围内,创建最大堆 void maxHeap(int A[], int i, int N){ int tmp; int child; for(tmp=A[i];LeftChild(i)<N;i=child){...
分类:编程语言   时间:2014-12-04 20:03:10    阅读次数:218
cSS3 伪类:nth-child 的使用方法
:nth-child是一个非常牛逼的伪类,如果你能很好的理解它就可以用CSS 做出很多非常实用的效果。当我很年轻的时候还使用PHP的i++来实现一些东西,其实CSS 完全可以实现。下面是我总结的一些用法,用了可爱的糖糖做演示,彩色头像就代表选中,T,T。
分类:Web程序   时间:2014-12-04 11:38:34    阅读次数:130
Candy
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2014-12-03 13:58:52    阅读次数:150
[LeetCode] Candy (分糖果),时间复杂度O(n),空间复杂度为O(1),且只需遍历一次的实现
[LeetCode] Candy (分糖果),时间复杂度O(n),空间复杂度为O(1),且只需遍历一次的实现原题:There areNchildren standing in a line. Each child is assigned a rating value.You are giving c...
分类:其他好文   时间:2014-12-02 01:33:37    阅读次数:309
JAVA Heap Space
hadoop:mapred.child.java.opts-Xmx1024mPS:该选项默认是200M
分类:编程语言   时间:2014-12-01 22:22:17    阅读次数:148
【leetcode】Candy(hard) 自己做出来了 但别人的更好
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:其他好文   时间:2014-12-01 15:37:11    阅读次数:225
A problem is easy
描述When Teddy was a child , he was always thinking about some simple math problems ,such as “What it’s 1 cup of water plus 1 pile of dough ..” , “100 y...
分类:其他好文   时间:2014-11-30 06:07:23    阅读次数:155
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!