码迷,mamicode.com
首页 >  
搜索关键字:swap nodes in pairs    ( 8848个结果
Binary Tree Level Order Traversal II
Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For exa...
分类:其他好文   时间:2014-11-15 18:47:01    阅读次数:234
leetcode [64] merge tow sorted lists
之前忘记记录这题了,现在补上。合并两个有序的list,要求是:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes o...
分类:其他好文   时间:2014-11-15 18:30:36    阅读次数:169
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-15 18:28:47    阅读次数:179
[leetcode] 7. Binary Tree Level Order Traversal II
这次相对来讲复杂点,题目如下: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from lea...
分类:其他好文   时间:2014-11-15 01:27:53    阅读次数:174
[leetcode] 7. Binary Tree Level Order Traversal II
这次相对来讲复杂点,题目如下: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from lea...
分类:其他好文   时间:2014-11-15 01:23:35    阅读次数:192
Linux下oracle 11g安装
服务器环境要求 硬盘 20G以上 ,必须高于1G的物理内存,交换空间一般为内存的2倍,例如:1G的内存可以设置swap 分区为3G大小在Root用户下执行以下步骤:修改用户的SHELL的限制,修改/etc/security/limits.conf文件oracle soft nproc 204...
分类:数据库   时间:2014-11-14 22:36:58    阅读次数:368
[LeetCode]Partition List
Given a linked list and a value x, partition it such that all nodes less than x come before nodes greater than or equal to x. You should preserve the original relative order of the nodes in each of...
分类:其他好文   时间:2014-11-14 17:50:06    阅读次数:137
【LeetCode】Binary Tree Postorder Traversal (3 solutions)
Binary Tree Postorder TraversalGiven a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \...
分类:其他好文   时间:2014-11-14 17:41:15    阅读次数:183
【LeetCode】Binary Tree Preorder Traversal (2 solutions)
Binary Tree Preorder TraversalGiven a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ ...
分类:其他好文   时间:2014-11-14 17:34:30    阅读次数:151
Merge Two Sorted Lists
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.C++代码如下:#...
分类:其他好文   时间:2014-11-14 17:13:09    阅读次数:193
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!