码迷,mamicode.com
首页 >  
搜索关键字:trees    ( 1351个结果
HDU4010 Query on The Trees(LCT)
人生的第一道动态树,为了弄懂它的大致原理,需要具备一些前置技能,如Splay树,树链剖分的一些概念。在这里写下一些看各种论文时候的心得,下面的代码是拷贝的CLJ的模板,别人写的模板比较可靠也方便自己学习理解,然后一些概念的则是学习了一些论文,下面的内容可以看作对别人模板的理解心得,以及对论文的收获体...
分类:其他好文   时间:2014-07-16 20:46:38    阅读次数:189
杭电 1392 Surround the Trees
Surround the Trees Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7146    Accepted Submission(s): 2729 Problem Descriptio...
分类:其他好文   时间:2014-07-13 20:46:21    阅读次数:218
HDU1392:Surround the Trees(凸包问题)
Surround the Trees Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7164    Accepted Submission(s): 2738 Problem Description There a...
分类:其他好文   时间:2014-07-13 17:00:52    阅读次数:201
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 and the nodes have the same value. /** * Defin...
分类:其他好文   时间:2014-07-13 15:50:25    阅读次数:158
CTCI 4.8
You have two very large binary trees: T1, with millions of nodes, and T2, with hundreds of nodes. Create an algorithm to decide if T2 is a subtree of ...
分类:其他好文   时间:2014-07-13 13:04:00    阅读次数:186
POJ-1785-Binary Search Heap Construction(笛卡尔树)
Description Read the statement of problem G for the definitions concerning trees. In the following we define the basic terminology of heaps. A heap is a tree whose internal nodes have each assigned...
分类:其他好文   时间:2014-07-12 18:52:12    阅读次数:285
教你透彻了解红黑树
教你透彻了解红黑树 作者:July、saturnman 2010年12月29日 本文参考:Google、算法导论、STL源码剖析、计算机程序设计艺术 推荐阅读:Left-Leaning Red-Black Trees, Dagstuhl Workshop on Data Structures, Wa...
分类:其他好文   时间:2014-07-11 09:55:10    阅读次数:357
【Unity 3D】学习笔记三十一:游戏元素——地形元素
地形元素 一般情况下,为了使游戏更具有美观性,会在游戏地形上放置很多的元素,这些元素是与地形分开的。主要包括:树木,草地,自定义网格模型。 树元素 首先导入系统提供的树木标准资源包,在project视图中,点击鼠标右键,然后从菜单中选择import-----tree creator。接着在地形菜单里点击第五个按钮,添加树模型。然后点击edit trees按钮,将弹出如下列表:...
分类:其他好文   时间:2014-07-08 18:24:33    阅读次数:266
LeetCode:: Unique Binary Search Trees[详细分析]
Unique Binary Search Trees  My Submissions Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 uniqu...
分类:其他好文   时间:2014-07-08 14:18:39    阅读次数:159
HDU - 4709 Herding
Description Little John is herding his father's cattles. As a lazy boy, he cannot tolerate chasing the cattles all the time to avoid unnecessary omission. Luckily, he notice that there were N trees...
分类:其他好文   时间:2014-07-06 10:39:09    阅读次数:188
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!