码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
Maximum Depth of Binary Tree leetcode java
题目: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 farthes....
分类:编程语言   时间:2014-07-31 02:41:15    阅读次数:229
Minimum Depth of Binary Tree leetcode java
题目:Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the neares....
分类:编程语言   时间:2014-07-31 02:30:25    阅读次数:264
Symmetric Tree leetcode java
题目:Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 /...
分类:编程语言   时间:2014-07-31 02:28:25    阅读次数:376
Same Tree leetcode java
题目: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 identica....
分类:编程语言   时间:2014-07-31 02:24:15    阅读次数:211
[LeetCode] Binary Tree Maximum Path Sum(递归)
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example: Given the below binary tree, 1 ...
分类:其他好文   时间:2014-07-30 20:33:34    阅读次数:193
Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty straight...
分类:其他好文   时间:2014-07-30 17:46:04    阅读次数:244
Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center)....
分类:其他好文   时间:2014-07-30 14:48:53    阅读次数:216
Binary Tree Postorder Traversal leetcode java
题目:Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [3...
分类:编程语言   时间:2014-07-30 11:33:23    阅读次数:258
[LeetCode] Sum Root to Leaf Numbers(bfs)
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:其他好文   时间:2014-07-30 11:30:33    阅读次数:247
iOS sqlite数据库实现(转)
转载自:http://www.cnblogs.com/macroxu-1982/archive/2012/10/01/2709960.html1 实现过程添加libsqlite3组件选择项目后,在展示的xcodepro文件配置界面中配置 build phases -> Link Binary Wit...
分类:移动开发   时间:2014-07-30 11:28:13    阅读次数:249
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!