码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
[leetcode] 9. Binary Tree Level Order Traversal
跟第七题一样,把最后的输出顺序换一下就行。。。 Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level). For exam...
分类:其他好文   时间:2014-11-15 21:29:30    阅读次数:231
Same Tree
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他好文   时间:2014-11-15 18:47:58    阅读次数:103
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
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] Populating Next Right Pointers in Each Node II
Follow up for problem "Populating Next Right Pointers in Each Node".What if the given tree could be any binary tree? Would your previous solution stil...
分类:其他好文   时间:2014-11-15 18:20:45    阅读次数:125
linux常用命令(一)
命令的格式:命令 -选项 参数例:ls -la /etc选项可以结合使用. 代表的是当前目录.. 代表当前目录的父目录root用户常用命令地址root:/sbin/usr/sbin所有用户常用命令地址all users:/bin/usr/binbin-->binary usr-->user sbi....
分类:系统相关   时间:2014-11-15 16:55:53    阅读次数:236
LeetCode "Find Minimum in Rotated Sorted Array"
There's usually a common strategy for "find *" problems - binary search: half the space can be dropped by some rules.And take care of corner cases.cla...
分类:其他好文   时间:2014-11-15 16:53:56    阅读次数:171
两道关于binary tree的水题 [Same Tree] [Maximum Depth of Binary Tree]
Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:其他好文   时间:2014-11-15 11:13:11    阅读次数:171
[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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!