文件名称:decare_tree
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:632byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
有一种特殊的二叉树被称为笛卡尔树,这种二叉树的每个结点都有两个关键码,记为key1和key2。现在给你一组关键码,每组关键码用二个整数表示,要求构造一棵同时满足下列两个性质的笛卡尔树:
只考虑这棵笛卡尔树的第一关键码,它是一棵排序二叉树。
只考虑这棵笛卡尔树的第二关键码,它们满足类似于最小堆的性质,即任意一个父结点的第二关键码都比它的子结点的第二关键码小。
-There is a special kind of binary tree is called Cartesian tree, this tree each node has two key code, recorded as key1 and key2. Now give you a key code, key code for each group with two integers that satisfy the requirements of a structural nature of the following two Cartesian tree: only the Cartesian tree of the first key code tree, which is a binary tree sort. Cartesian tree trees only consider the second key code, and they meet the minimum heap similar nature, that is, the father of any of the key node of the second sub-code than it is the second node key code small.
只考虑这棵笛卡尔树的第一关键码,它是一棵排序二叉树。
只考虑这棵笛卡尔树的第二关键码,它们满足类似于最小堆的性质,即任意一个父结点的第二关键码都比它的子结点的第二关键码小。
-There is a special kind of binary tree is called Cartesian tree, this tree each node has two key code, recorded as key1 and key2. Now give you a key code, key code for each group with two integers that satisfy the requirements of a structural nature of the following two Cartesian tree: only the Cartesian tree of the first key code tree, which is a binary tree sort. Cartesian tree trees only consider the second key code, and they meet the minimum heap similar nature, that is, the father of any of the key node of the second sub-code than it is the second node key code small.
相关搜索: cartesian tr
(系统自动生成,下载前可以参看下载内容)
下载文件列表
笛卡尔树.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
