文件名称:binarytree
-
所属分类:
- 标签属性:
- 上传时间:2013-03-16
-
文件大小:314.82kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
二叉树的顺序存储结构——已知用户将一棵完全二叉树的n个结点(数据类
型可以是字符型、整型等等)以自顶向下、从左到右顺序输
入到一个一维数组中:
(1)编写算法FindRelation(i),输出i的父结点和
所有孩子结点(如果有的话)。(2)编写算法Print打印这棵二叉树的所有节点:先打印二叉树的
根、再打印左子树、最后打印右子树;(即在顺序存储结构上先序遍历
二叉树);
-Stored in the order of the binary tree structure- known to users will be a complete binary tree of n nodes (data type can be character, integer, etc.) to a top-down, left to right order of the input to a one-dimensional array in: (1) to write the algorithm FindRelation (i), the output i parent node and all child nodes (if any). (2) write algorithms Print Print tree binary tree node: first print the root of the binary tree, and then print the left subtree, and finally print the right subtree (first sequential storage structure traversing Binary)
型可以是字符型、整型等等)以自顶向下、从左到右顺序输
入到一个一维数组中:
(1)编写算法FindRelation(i),输出i的父结点和
所有孩子结点(如果有的话)。(2)编写算法Print打印这棵二叉树的所有节点:先打印二叉树的
根、再打印左子树、最后打印右子树;(即在顺序存储结构上先序遍历
二叉树);
-Stored in the order of the binary tree structure- known to users will be a complete binary tree of n nodes (data type can be character, integer, etc.) to a top-down, left to right order of the input to a one-dimensional array in: (1) to write the algorithm FindRelation (i), the output i parent node and all child nodes (if any). (2) write algorithms Print Print tree binary tree node: first print the root of the binary tree, and then print the left subtree, and finally print the right subtree (first sequential storage structure traversing Binary)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Ttree/Debug/
Ttree/Debug/Ttree.exe
Ttree/Debug/Ttree.ilk
Ttree/Debug/Ttree.obj
Ttree/Debug/Ttree.pch
Ttree/Debug/Ttree.pdb
Ttree/Debug/vc60.idb
Ttree/Debug/vc60.pdb
Ttree/Ttree.cpp
Ttree/Ttree.dsp
Ttree/Ttree.plg
Ttree/Debug/Ttree.exe
Ttree/Debug/Ttree.ilk
Ttree/Debug/Ttree.obj
Ttree/Debug/Ttree.pch
Ttree/Debug/Ttree.pdb
Ttree/Debug/vc60.idb
Ttree/Debug/vc60.pdb
Ttree/Ttree.cpp
Ttree/Ttree.dsp
Ttree/Ttree.plg
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.