码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
obiz
ofbiz 安装 1. 由 binary 安装:由 binary 安装非常简单, 以下是安装方法:下载ofbiz-2.0-beta1-complete.tar.gz, 注意不是ofbiz-2.0-beta1.tar.gz.tar xvzf ofbiz-2.0.beta1-complete.tar.g...
分类:其他好文   时间:2014-08-29 12:30:37    阅读次数:178
HDU 1392 Surround the Trees (Graham求凸包周长)
题目链接题意 : 让你找出最小的凸包周长 。思路 : 用Graham求出凸包,然后对每条边求长即可。Graham详解 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std ; 8 9...
分类:其他好文   时间:2014-08-29 10:40:37    阅读次数:160
LeetCode: Validata Binary Search Tree
LeetCode: Validata Binary Search TreeGiven a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The l...
分类:其他好文   时间:2014-08-28 23:59:16    阅读次数:421
LeetCode: Recover Binary Search Tree
LeetCode: Recover Binary Search TreeTwo elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure....
分类:其他好文   时间:2014-08-28 23:58:36    阅读次数:385
LeetCode: Symmetric Tree
LeetCode: Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is...
分类:其他好文   时间:2014-08-28 22:41:16    阅读次数:243
LeetCode: Same Tree
LeetCode: 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 struct...
分类:其他好文   时间:2014-08-28 22:40:46    阅读次数:266
Symmetric Tree
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-08-28 21:01:06    阅读次数:179
Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-08-28 20:57:46    阅读次数:201
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 ...
分类:其他好文   时间:2014-08-28 19:33:55    阅读次数:266
UvaLive 6600 Spanning trees in a secure lock pattern 矩阵行列式
链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4611 题意:给一个N*N个点的矩阵(N 思路:题里给的很明白,就是列一个每个点的边的矩阵,然后求子矩阵的行列式就可以了,因为N只有6,所以打表就可以了。 打表代码: #incl...
分类:其他好文   时间:2014-08-28 17:01:00    阅读次数:350
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!