码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
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
Binary Tree Inorder Traversal leetcode java
题目:Given a binary tree, return the inorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,3...
分类:编程语言   时间:2014-07-30 09:54:33    阅读次数:195
Binary Tree Preorder Traversal leetcode java
题目:Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,...
分类:编程语言   时间:2014-07-30 09:49:43    阅读次数:177
jira 6.0.7 linux安装
安装jira的前提条件需要安装了java,mysql   1:下载jira Java代码   wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.0.7.tar.gz    2:在mysql数据库创建jira用户 Java代码   mysql>...
分类:系统相关   时间:2014-07-29 22:00:22    阅读次数:573
leetcode__Convert Sorted List to Binary Search Tree
Convert Sorted List to Binary Search TreeTotal Accepted:12283Total Submissions:45910My SubmissionsGiven a singly linked list where elements are sorted...
分类:其他好文   时间:2014-07-29 17:29:32    阅读次数:216
#Leet Code# Convert Sorted Array to Binary Search Tree
描述:递归代码: 1 class Solution: 2 # @param num, a list of integers 3 # @return a tree node 4 def sortedArrayToBST(self, num): 5 if len(...
分类:其他好文   时间:2014-07-29 16:41:11    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!