文件名称:creatbinarytree
介绍说明--下载内容均来自于网络,请自行研究使用
随机生成25个整数,介于1~10间为真实节点,其余为虚节点。将这一生成理解成完全二叉树,构造生成一棵完全二叉树。在此基础上执行:先根、中根、后根遍历;指定一节点整数,可给出其从根开始的路径。
二叉树采用链式方式存储。-25 randomly generated integer between 1 ~ 10 for the real node, and the rest for the virtual node. Will be interpreted as the generation of complete binary tree structure to generate a complete binary tree. On this basis the implementation of: the first root, root, root traversal designate a node integer, can be given to start from the root path. Binary tree stored using chain.
二叉树采用链式方式存储。-25 randomly generated integer between 1 ~ 10 for the real node, and the rest for the virtual node. Will be interpreted as the generation of complete binary tree structure to generate a complete binary tree. On this basis the implementation of: the first root, root, root traversal designate a node integer, can be given to start from the root path. Binary tree stored using chain.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
creatbinarytree.txt