CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - 二叉树算法

搜索资源列表

  1. 二叉树的各种遍历方法—TreeVisit

    1下载:
  2. 包含二叉树先序、中序、后序的递归及非递归遍历,还有层次遍历、层次遍历从下到上、从左到右或者从右到左的遍历算法,并附加了测试代码
  3. 所属分类:Windows编程

    • 发布日期:2011-05-06
    • 文件大小:1.17mb
    • 提供者:little_ma
  1. 树与二叉树

    1下载:
  2. (1)输入字符序列,建立二叉链表。 (2)遍历二叉树输出。 (3)请设计一个算法,要求该算法把二叉树的叶子结点按从左到右的顺序连成一个单链表,表头指针为head。 二叉树按二叉链表方式存储,链接时用叶子结点的右指针域来存放单链表指针。请遍历该链表输出所有叶子结点,然后再先序遍历二叉树输出所有叶子结点,并对比两个输出结果,看是否相同。 (4)试写一算法判断某二叉树是否是完全二叉树。 (5)试写一算法判断某二叉树是否是二叉排序树。 (6)在主函数中设计一个简单的菜单,分别调试上述算法。
  3. 所属分类:源码下载

    • 发布日期:2011-12-30
    • 文件大小:1.94kb
    • 提供者:jaydhu
  1. BTree.二叉树的递归算法

    1下载:
  2. 二叉树的递归算法:计算高度、结点个数、交换左右儿子 问题的描述 写一完整函数,计算树的结点数目int CountNode(BTNode<T>* &t); 完善以下两个函数: 计算树的高度int Depth(BTNode<T>* &root); 对树的所有子树交换左右孩子void swapsons(BTNode<T>* &t);,Binary Tree Recursive Algorithm: Calculate the hei
  3. 所属分类:其他小程序

    • 发布日期:2016-01-25
    • 文件大小:2.16kb
    • 提供者:YY
  1. 二叉树的基本操作

    2下载:
  2. 二叉树的基本操作(1)在二叉链表上设计和实现下列二叉树运算的算法 ① 设计递归算法,实现:删除二叉树,求二叉树的高度,求二叉树中叶子结点数,复制二叉树,交换二叉树的左右子树。 ② 设计算法,按自上到下,自左向右的次序,即按层次遍历一棵二叉树。 ③ 设计main函数,测试上述每个运算。 -Binary Tree s basic operations (1) in the binary list on the design and realization of the fol
  3. 所属分类:数据结构常用算法

    • 发布日期:2012-11-24
    • 文件大小:1.72kb
    • 提供者:
  1. 遍历二叉树的3个递归算法

    1下载:
  2. 此程序给出了遍历二叉树的三个递归算法,并且利用了先序扩展序列建立二叉树,对于数据结构学习者有很大帮助-this procedure is a traversal of a binary tree three recursive algorithm, and use the first sequence extended sequence to establish a binary tree, the data structure for a great help learners
  3. 所属分类:界面编程

    • 发布日期:2012-12-24
    • 文件大小:16.18kb
    • 提供者:赵麟
  1. Java二叉树算法实例

    0下载:
  2. 算法入门课程的一个范例,通俗易懂。-algorithm induction of a paradigm easily understood.
  3. 所属分类:Java Develop

    • 发布日期:2017-11-10
    • 文件大小:1.2kb
    • 提供者:地球
  1. 用先序递归过程建立二叉树

    2下载:
  2. 用先序递归过程建立二叉树 (存储结构:二叉链表) 输入数据按先序遍历所得序列输入,当某结点左子树或右子树为空时,输入‘*’号,如输入abc**d**e**得到的二叉树为: (选做:由二叉树的先序序列和中序序列建立一棵二叉树。) 2)编写递归算法,计算二叉树中叶子结点的数目。 3)按凹入表方式输出该二叉树。
  3. 所属分类:数据结构常用算法

  1. JAVA二叉树算法代码

    0下载:
  2. 广工数据结构实验,此代码为JAVA版的二叉树代码,可放在eclipse上运行。
  3. 所属分类:Windows编程

    • 发布日期:2016-01-03
    • 文件大小:997.78kb
    • 提供者:739811128@qq.com
  1. 二叉树的高度和宽度

    0下载:
  2. 求二叉树的高度及宽度采用递归算法和非递归算法(Find the height and width of the two tree)
  3. 所属分类:其他

    • 发布日期:2017-12-15
    • 文件大小:217kb
    • 提供者:时光依旧
  1. 二叉链表

    0下载:
  2. 一、 实验目的 (一) 掌握二叉树的逻辑结构和二叉链表存储结构; (二) 验证二叉树的二叉存储和遍历及其基本操作的实现; (三) 理解算法与程序的关系,能够将顺序表算法转化为对应程序;(First, the purpose of the experiment (1) master the logical structure of the two tree and the storage structure of the two linked list; (two) verify the
  3. 所属分类:汇编语言

    • 发布日期:2017-12-20
    • 文件大小:1kb
    • 提供者:轩卬
  1. 3.1二叉树

    0下载:
  2. [实验目的]? 验证二叉树的链接存储结构及其上的基本操作。? [实验内容及要求]? 1、 定义链接存储的二叉树类。 2、 实验验证如下算法的正确性、各种功能及指标:? 1)创建一棵二叉树,并对其初始化;? 2)先根、中根、后根遍历二叉树;? 3)在二叉树中搜索给定结点的父结点;? 4)搜索二叉树中符合数据域条件的结点;? [测试数据]? 由教师随机指定树结构,测试上述功能(Header file of two fork tree)
  3. 所属分类:数据结构

    • 发布日期:2018-01-02
    • 文件大小:600kb
    • 提供者:weiyt9916
  1. 遍历二叉树

    0下载:
  2. 简单的二叉树通过递归算法遍历,先序遍历中序遍历和后序遍历。通过遍历对二叉树的结构有更深入的学习(Simple two tree traversal through recursive algorithm, first order traversal traversal and preorder traversal. Through traversal, the structure of the two fork tree has a more in-depth study)
  3. 所属分类:数据结构

    • 发布日期:2018-01-05
    • 文件大小:15.32mb
    • 提供者:沧海森林
  1. 前序+中序_问答式输入生成二叉树

    0下载:
  2. 在计算机科学中,二叉树是每个节点最多有两个子树的树结构。通常子树被称作左子树和右子树。二叉树常被用于实现二叉查找树和二叉堆。该算法通过输入前序和中序生成二叉树(In computer science, a two tree is a tree structure with a maximum of two subtrees for each node. Usually the subtrees are called the left subtree and the right subtree.
  3. 所属分类:数据结构

    • 发布日期:2018-01-06
    • 文件大小:3.77mb
    • 提供者:静守成雯
  1. 二叉树

    0下载:
  2. 二叉树的前、中、后、层次遍历的递归算法。其中包括构造二叉树链式存储的算法。(A recursive algorithm of traversing the front, middle, post and level of two forked trees. It includes the algorithm to construct two forked tree chain storage.)
  3. 所属分类:其他

    • 发布日期:2018-01-07
    • 文件大小:1kb
    • 提供者:VINCERXC
  1. 03平衡二叉树_AVLTree

    0下载:
  2. 查找算法,平衡二叉树,大话数据结构里面的。(Lookup algorithm, balance two forked tree, big talk data structure inside.)
  3. 所属分类:Windows编程

    • 发布日期:2018-01-10
    • 文件大小:1kb
    • 提供者:kingtree
  1. 8606-二叉树的构建及遍历操作

    0下载:
  2. 实现二叉树的遍历操作,属于数据结构基础算法,代码能够顺利运行,运行环境是ColdBlick。(The traversing operation of two forked tree belongs to the basic algorithm of data structure, the code can run smoothly, and the running environment is ColdBlick.)
  3. 所属分类:数据结构

    • 发布日期:2018-04-29
    • 文件大小:12kb
    • 提供者:蓉-
  1. 二叉树

    0下载:
  2. 数据结构二叉树算法!!!!希望大家采纳!!!!!!!!!!!!!!!!(rweqtrewqrtgrewgjwerjkg)
  3. 所属分类:数据结构

    • 发布日期:2018-04-19
    • 文件大小:1.16mb
    • 提供者:ewqeq
  1. 二叉树

    0下载:
  2. 基于二叉查找树进行优化,进而可以得到其他的树表查找算法,如平衡树、红黑树等高效算法(Based on the two fork search tree, we can optimize other tree table lookup algorithms, such as balanced tree, red black tree and other efficient algorithms.)
  3. 所属分类:其他

    • 发布日期:2018-05-01
    • 文件大小:1kb
    • 提供者:strive$
  1. 平衡二叉树

    1下载:
  2. 本算法实现了平衡二叉树的C++应用,包括平衡二叉树的增删改查。(This algorithm implements the balanced two fork tree C++ application, including balancing two tree tree's additions and deletions.)
  3. 所属分类:数据结构

    • 发布日期:2020-10-20
    • 文件大小:4.91mb
    • 提供者:Tume
  1. 二叉树_17281183_刘梦婷

    2下载:
  2. 按先序遍历的扩展序列建立二叉树的二叉链表存储结构,实现二叉树先序、中序、后序遍历的递归算法,实现二叉树中序遍历的非递归算法,实现二叉树层次遍历的非递归算法,求二叉树的结点个数,求二叉树的深度。(The binary list storage structure of binary tree is established according to the extended sequence of traversal in the first order, the recursive algorit
  3. 所属分类:数据结构

    • 发布日期:2020-05-07
    • 文件大小:2.07mb
    • 提供者:lmt19990807
« 12 3 4 5 6 7 8 9 10 ... 50 »
搜珍网 www.dssz.com