码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
hdu3015 Disharmony Trees
Problem Description One day Sophia finds a very big square. There are n trees in the square. They are all so tall. Sophia is very interesting in them. She finds that trees maybe disharmony and...
分类:其他好文   时间:2015-06-10 22:36:35    阅读次数:149
HDU 1390 Binary Numbers
题目地址:http://acm.hdu.edu.cn/showproblem.php?pid=1390题目描述:Binary NumbersTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)T...
分类:其他好文   时间:2015-06-10 22:21:13    阅读次数:124
Construct Binary Tree from Inorder and Postorder Traversal || LeetCode
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */struct T...
分类:其他好文   时间:2015-06-10 20:42:29    阅读次数:96
Count Complete Tree Nodes || LeetCode1
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */#define ...
分类:其他好文   时间:2015-06-10 14:08:26    阅读次数:100
Count Complete Tree Nodes || LeetCode
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */#define ...
分类:其他好文   时间:2015-06-10 14:07:08    阅读次数:91
MySQL中的string类型
转自:http://computer.uoh.edu.cn/mysql/1677.htmlMYSQL中STRING支持类型有:CHAR、VARCHAR、TINYTEXT、TEXT、MEDIUMTEXT、LONGTEXT、BINARY、VARBINARY、TINYBLOG、MEDIUMBLOG、BLO...
分类:数据库   时间:2015-06-10 13:50:47    阅读次数:171
[leetcode] Validate Binary Search Tree
Validate Binary Search TreeGiven a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtre...
分类:其他好文   时间:2015-06-10 12:03:48    阅读次数:89
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 ...
分类:其他好文   时间:2015-06-10 12:03:48    阅读次数:88
Populating Next Right Pointers in Each Node I or 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...
分类:其他好文   时间:2015-06-10 11:45:22    阅读次数:101
Flatten Binary Tree to Linked List
Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened t...
分类:其他好文   时间:2015-06-10 07:41:49    阅读次数:105
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!