码迷,mamicode.com
首页 >  
搜索关键字:swap nodes in pairs    ( 8848个结果
[LeetCode] Binary Tree Preorder Traversal
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:其他好文   时间:2014-11-07 09:43:14    阅读次数:211
Maximum Depth of Binary Tree
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:其他好文   时间:2014-11-07 00:58:54    阅读次数:259
linux系统信息查看
vmstat 2 3[root@LocalWeb01 ~]# vmstat 2 3(查看系统信息 2秒 一次 共 3次 ) 内存 cpuprocs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------r...
分类:系统相关   时间:2014-11-06 23:20:07    阅读次数:298
一步将 p12转为pem
openssl pkcs12 -in Certificates.p12 -out Certificates.pem -nodes...
分类:其他好文   时间:2014-11-06 17:31:12    阅读次数:162
LeetCode Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-11-06 14:30:36    阅读次数:151
Maximum Depth of Binary Tree
Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest le...
分类:其他好文   时间:2014-11-06 12:57:50    阅读次数:176
Binary Tree Level Order Traversal
Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,9,2...
分类:其他好文   时间:2014-11-06 12:33:23    阅读次数:117
openssl创建自己的CA certificate
Create a Certificate Authority private key (this is your most important key):$ openssl req -new -newkey rsa:1024 -nodes -out ca.csr -keyout ca.keyCrea...
分类:其他好文   时间:2014-11-05 22:48:08    阅读次数:230
POJ1308 Is It A Tree? (easy but...)
DescriptionA tree is a well-known data structure that is either empty (null, void, nothing) or is a set of one or more nodes connected by directed edg...
分类:其他好文   时间:2014-11-05 16:44:11    阅读次数:137
linux 入门
总想学习系统方面的知识,想以后往系统方面走,最近参加了MCS2012培训,感觉收获挺大的,对以前模糊不清的知识,让自己从新认识解读了,考试进行中。今天看了linux入门,明白了安装centos操作系统,最少要创建两个分区,知道了SWAP的意思,为什么要创建这个分区,这个分区要创..
分类:系统相关   时间:2014-11-05 15:03:01    阅读次数:179
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!