搜索资源列表
shujujiegou-erchashu
- 叉排序树与平衡二叉排序树基本操作的实现 用二叉链表作存储结构 (1)以回车( \\n )为输入结束标志,输入数列L,生成二叉排序树T; (2)对二叉排序树T作中序遍历,输出结果; (3)计算二叉排序树T的平均查找长度,输出结果; (4)输入元素x,查找二叉排序树T,若存在含x的结点,则删除该结 点,并作中序遍历(执行操作2);否则输出信息“无结点x”; (5)判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;-fork trees and
birary-treea-and-integer
- 这是我的一个笔试题,是把整数放到二叉树中的一个题发上来给大家看看(采用中序遍历)。希望对大家找工作有帮助-This is a pen test, is the integer into a binary tree in a title made up for everyone to see (in preorder traversal). People looking for work
shiyan3
- 对四则运算表达式的抽象语法树进行后序遍历,可以得到输入表达式所对应的四元式序列(实验4要用到这样的四元式序列)。例如输入1+2*(3+4),对应的抽象语法树的中序遍历序列、四元式序列分别为-After the abstract syntax tree arithmetic expressions were preorder, you can get input expression quaternion corresponding sequence (Experiment 4 to use th
binarytree
- 根据中后续遍历建立二叉树,并且输出其前序遍历-According to the subsequent establishment of a binary tree traversal, and the output of its preorder traversal
c-cpp
- (1) 实现二叉树先序遍历、中序遍历、后序遍历等运算。 (2) 实现计算二叉树叶子结点和交换二叉树中所有结点左右子树的运算 -(1) binary tree preorder, preorder, postorder traversal operations. (2) calculated to achieve binary tree leaf node and all nodes exchange binary sub-tree operations around
coo51
- 利用先序遍历创建链式存储的二叉树,suanfasheji-Use preorder create chain store binary tree, suanfasheji
SHUJUJIEGOU
- 本课程设中的二叉排序树,一共要实现四项基本的功能。 它们分别是二叉顺序树的创建、中序遍历、查找结点和删除结点。-This course is set up in the binary sort tree to achieve a total of four basic functions. They are the creation of a binary tree sequence, the preorder, find nodes and delete nodes.
ZWBTree
- 二叉树的建立 和二叉树的先序遍历 打印出来-Binary tree binary tree establishment and print out preorder
erchashu
- 二叉树遍历 二叉树先序、中序、后序遍历的递归算法递归算法-First binary sequence binary tree traversal, recursive algorithm in order, after the preorder of recursive algorithm
rbtree
- c语言实现了红黑树的基本初始化插入删除,采用先序遍历和中序遍历输出-c language to achieve a red-black tree insertion and deletion basic initialization using preorder and preorder output
BitTree
- 关于二叉树先序、中序、后序递归与非递归遍历的详细源代码,并附有详细的注解。适合学习数据结构二叉树的同学学习。-About Binary preorder, inorder, postorder recursive and non-recursive traversal detailed source code, together with detailed notes. Binary tree data structure for learning students learn.