登录
首页 » Java » tree

tree

于 2016-03-18 发布 文件大小:1KB
0 192
下载积分: 1 下载次数: 1

代码说明:

  判断二叉树是否是完全二叉树,求二叉树宽度1:若无左子女则不应该有右子女2.求二叉树宽度3.二叉树k层叶子结点(Determine whether the binary tree is a complete binary tree, binary tree width 1: children should not be left if no children have the right width 3. 2. binary tree binary tree leaf node k layer)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 二叉树与二叉链表
    假设以如下说明的三元组 (F、C、L/R) 序列输入一棵二叉树的诸边(其中 F 表示双亲结点的标识,C 表示孩子结点标识,L/R 表示 C 为 F 的左孩子或右孩子),且在输入的三元组序列中,C 是按层次顺序出现的。设结点的标识是字符类型。F=‘^’时 C 为根结点标识,若 C 亦为‘^’,则表示输入结束。 试编写算法,由输入的三元组序列建立二叉树的二叉链表,并以中序序列输出。^AL ABL ACR BDL CEL CFR DGR FHL ^^L -Assuming the following description of the triple (F, C, L/R) sequence of a binary tree of all the input side (where F that identifies the parent node, C, said child node ID, L/R that C is F, left or right child child), and triples in the input sequence, C is the emergence of a hierarchical order. Node identity is established character types. F = " ^" C for the root identity when, if C is also a " ^" , then enter the end. Test preparation algorithm, the input sequence of triples binary build the binary tree list, and in order to sequence the output
    2022-09-25 12:40:03下载
    积分:1
  • 绿色征途2
    绿色征途2 本帖最后由 quyan123456789 于 2013-8-28 16:59 编辑 $ Z: [. G6 {& h6 u  M) M1 e* B 帖子发了将近有1年时间了,现在成了置顶帖很高兴
    2022-08-07 19:13:03下载
    积分:1
  • 简单的叫访问程序
    简单的数据哭访问程序-simple data cried visit procedures
    2022-03-09 13:41:37下载
    积分:1
  • heapSort.cpp.tar
    这是一个堆排序的算法源程序,算法被单独写成一个函数,希望对大家有用(This is a heap sort algorithm source code, algorithms are written as a separate function, we hope to be useful)
    2013-12-12 14:52:48下载
    积分:1
  • c调用sqlite的完整的程序,对学习sqlite很有帮助
    c调用sqlite的完整的程序,对学习sqlite很有帮助-c call sqlite complete the procedure, very helpful in learning sqlite
    2022-04-16 20:14:15下载
    积分:1
  • 词典(英文)
    数据结构词典(英文)-data structure Dictionary (English)
    2022-08-15 23:25:45下载
    积分:1
  • 这是一个典型的动态编程,提供了三种方法(用C代码实现…
    这是一道典型的动态规划题 提供了三种方法(用C++代码实现)-This a typical dynamic programming that provides three methods (using C code realization)
    2022-01-24 17:01:59下载
    积分:1
  • c语言经典代码,包括:打印图案 ,大小写字母的互换 整因子 /*请编写一程序完成下面的功能:从键盘上任意上任意输入一个大于0且小于1000的整,...
    c语言经典代码,包括:打印图案 ,大小写字母的互换 整数因子 /*请编写一程序完成下面的功能:从键盘上任意上任意输入一个大于0且小于1000的整数,然后输出此整数的所有整数因子。如输入12,则输入1,2,3,4,6,12。*/ 插入后自动排序 /*原题:把一个整数插入到按由小到大排列的数列中,插入后仍然保持由小到大的顺序排列*/ /*指针,穷举法进行比较交换*/ 求数列 /*原题:已知一正整数递增等差数列,前5项之和为25,前5项之积为945,根据以上条件,请编写一个程序,输出该数列的前十项。*/ -c语言经典代码,包括:打印图案 ,大小写字母的互换
    2022-07-18 12:52:57下载
    积分:1
  • 聊天工具
    本程序是一个了聊天工具  用mfc编写  可以多人同时聊天,用tcp协议编写                     
    2022-10-28 00:00:04下载
    积分:1
  • SeqQueue
    数据结构循环队列的实现 在visual c++6.0运行(Circular queue data structure to achieve the visual c++6.0 run)
    2013-06-15 16:27:32下载
    积分:1
  • 696518资源总数
  • 105949会员总数
  • 22今日下载