码迷,mamicode.com
首页 >  
搜索关键字:binary tree zigzag l    ( 23541个结果
leetcode - Balanced Binary Tree
题目:Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary ...
分类:其他好文   时间:2014-06-21 07:03:28    阅读次数:249
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-06-21 06:40:07    阅读次数:172
leetcode - Convert Sorted Array to Binary Search Tree
题目:Convert Sorted Array to Binary Search TreeGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.个人思路:1、选...
分类:其他好文   时间:2014-06-21 06:37:00    阅读次数:183
Leetcode Binary Tree Postorder Traversal
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No...
分类:其他好文   时间:2014-06-21 06:31:43    阅读次数:265
[LeetCode] Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.说明:平衡二叉搜索树,即任何结点的左子树和右子树高度最多相差1的二叉搜索树。二叉搜索树:二叉查找树(Bin...
分类:其他好文   时间:2014-06-21 00:47:08    阅读次数:221
Hyper-v: Snapshot merge
我有一个Hyper-V上的虚拟机, 在使用的过程中我给这个虚拟机创建了多个snapshots。 有一天我把整个的snapshots tree从root删掉了(delete snapshot with subtree), 然后我把虚拟机关机, 看到它在merge. 我期待着所有的avhd能够merge...
分类:其他好文   时间:2014-06-20 22:43:33    阅读次数:284
Leetcode: Binary Tree Preorder Traversal
Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,2,3]...
分类:其他好文   时间:2014-06-20 19:37:40    阅读次数:136
Zabbix监控Linux磁盘I/O
东西都上传到这里了:https://github.com/RexKang/Zabbix/tree/master/OS/Linux-disk-discovery 需要用到的东西:Zabbix的LLD:https://www.zabbix.com/documentation/2.0/manual/dis...
分类:系统相关   时间:2014-06-20 19:30:34    阅读次数:393
leetcode - Symmetric Tree
题目:Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmet...
分类:其他好文   时间:2014-06-20 18:44:41    阅读次数:279
Uboot的串口下载文件命令:loads / loadb / loady
1. loadsloads [ off ]通过串口,下载S-Rec文件到off位置loads命令可以通过串口线下载S-Record格式文件。2. loadbloadb [ off ] [ baud ]通过串口,以baud速率,下载binary到off位置(即:kermit protocol)load...
分类:数据库   时间:2014-06-20 14:11:51    阅读次数:607
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!