北京大学ACM比赛题目 Consider an infinite full binary search tree (see the figure below), the numbers in the nodes are 1, 2, 3, .... In a subtree whose root node is X, we can get the minimum number in this subtree by repeating going down the left node until the last level, and we can also find the maximum number by going down the right node. Now you are given some queries as "What are the minimum and maximum numbers in the subtree whose root node is X?" Please try to find answers for there queries.
标签: the Consider infinite numbers
上传时间: 2013-12-16
上传用户:日光微澜
一个非常全面的树的例子,里面提供基本上所有tree的例子.dtree,jsptree,ajaxtr
上传时间: 2016-04-22
上传用户:zm7516678
Generates a static minimum-variance Huffman code tree.,详细给出了HUFFMAN码树构造
标签: minimum-variance Generates Huffman static
上传时间: 2013-12-21
上传用户:1101055045
kd-tree c++类模板实现的演示例子. 是从国外网站上下的,结构简单,容易看懂. 文章在: http://www.codeproject.com/KB/architecture/KDTree.aspx
标签: architecture codeproject kd-tree http
上传时间: 2016-05-18
上传用户:sxdtlqqjl
空间数据库系统中著名的索引R-tree 源码
上传时间: 2013-12-13
上传用户:fhzm5658
用Java编写的KD TREE算法实现, 希望对大家有所帮助
上传时间: 2016-06-01
上传用户:change0329
useing java to show a tree,like windows tr
上传时间: 2014-06-06
上传用户:lunshaomo
数据结构与算法分析中AVL Tree的JAVA详尽代码 请有需要的同学下载
上传时间: 2014-12-08
上传用户:liuchee
数据结构与算法分析中binary search tree的JAVA代码 请需要的同学下载
上传时间: 2014-01-06
上传用户:bruce5996
基于F P -tree 频集模式的F P -G row th 算法,用于关联规则挖掘。
上传时间: 2014-09-12
上传用户:ljt101007