资源列表

« 1 2 ... .70 .71 .72 .73 .74 275.76 .77 .78 .79 .80 ... 2656 »

[数据结构常用算法shu

说明:1.[问题描述] 编写递归算法,计算二叉树中叶子结点的数目 [输入] 按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g . [输出] 按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4 [存储结构] 采用二叉表存储 [算法的基本思想] 采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,中序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点。根据左右子树的最后一个
<Demonic> 在 2025-06-23 上传 | 大小:8kb | 下载:0

[数据结构常用算法shu2

说明:2.[问题描述] 编写递归算法,在二叉树中求位于先序序列中第K个位置的结点 [输入] 按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g 。输入要求的位置 [输出] 若二叉树不空,按先序序列输出,求出所求位置的结点 [存储结构] 采用二叉表存储 [算法的基本思想] 采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,先序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点并计算出二叉树中叶子结点
<Demonic> 在 2025-06-23 上传 | 大小:7kb | 下载:0

[数据结构常用算法chazhao

说明:[问题描述] 在二叉排序树中查找关键字为KEY的记录 [输入] 有序表输入要查找元素的关键字 [输出] 查找成功是即可显示查找成功 #include <stdlib.h> #include <stdio.h> typedef int KeyType typedef struct{ -[Problem Descr iption] Binary Tree ranking keyword search for the rec
<Demonic> 在 2025-06-23 上传 | 大小:13kb | 下载:0

[数据结构常用算法neipaixu

说明:[问题描述] 将N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前,要求使用最少的附加空间,且算法的时间复杂度为O(N) [输入] 待排序记录个数,各关键字的值。 [输出] 关键字从正负分开,正数在前 [存储结构] 待排序记录顺序存储。 [算法的基本思想] 快速排序算法每次任取一个记录的关键字为标准,将其余记录分为两组将,N个关键字去整数的记录进行整序, 以使所有关键字为非负数的记录排在关键字为负数的记录之前。 #in
<Demonic> 在 2025-06-23 上传 | 大小:7kb | 下载:0

[数据结构常用算法expression

说明:中缀表达式计算的堆栈算法的实现,在tc或vc++下编译通过-Infixation expression stack algorithm for the calculation of the realization in tc or under compile vc
<yhy> 在 2025-06-23 上传 | 大小:1kb | 下载:0

[数据结构常用算法user

说明:严蔚敏的数据结构各章接的主要算法c语言的代码实现,都能上机通过-the data structure of the next major chapter algorithm c language code to achieve, will be able to pass
<yhy> 在 2025-06-23 上传 | 大小:5kb | 下载:0

[数据结构常用算法eightnumber

说明:八数码问题的C++实现,最经典的广度有限算法-eight digital realization of the C and classic algorithms limited breadth
<夏泽洋> 在 2025-06-23 上传 | 大小:2kb | 下载:0

[数据结构常用算法huffman

说明:huffman算法 包含huffman算法的编码及解码源程序以及LZW算法的编解码-Huffman algorithm contains Huffman coding algorithm and the decoder and the LZW algorithm source code The codecs
<欢欢> 在 2025-06-23 上传 | 大小:57kb | 下载:0

[数据结构常用算法haffman

说明:实现Haffman算法,有输入的接口,需输入字符及其权重,能自动生成Haffman编码-achieve Haffman algorithm, the input interface, the need to import characters and weights, can automatically generate code Haffman
<张强> 在 2025-06-23 上传 | 大小:3kb | 下载:0

[数据结构常用算法huffmanTree

说明:在学习数据结构时,往往不知道那些结构与算法有何用,以及怎么用。这个小小程序充分显示了Huffman二叉树的应用。虽然其压缩效果比RAR相差甚远,但也能说明一二。 -the study data structure, they often do not know what the structure and algorithm, as well as how use. This little procedure fully demonstrated the application of th
<阿四> 在 2025-06-23 上传 | 大小:6kb | 下载:0

[数据结构常用算法zigzagdemo

说明:在视频处理中经常要用到Zigzag序号及其逆序号,本文提供了一个新的类CZigzag,可以求任意m×n块的Zigzag序号及其逆序号。 由于所求的Zigzag序号及其逆序号为一次性遍历生成,其时间复杂度仅为O(m×n)。-In video often use to deal with the serial number and its reverse No. Zigzag, the paper provides a new category CZigzag, can seek arbitrary
<阿四> 在 2025-06-23 上传 | 大小:6kb | 下载:0

[数据结构常用算法BiTree

说明:数据结构 二叉树算法集合为学习数据结构的同学提供帮助 互相交流-binary tree data structure set for the learning algorithm data structure to help students exchange
<> 在 2025-06-23 上传 | 大小:249kb | 下载:0
« 1 2 ... .70 .71 .72 .73 .74 275.76 .77 .78 .79 .80 ... 2656 »

源码中国 www.ymcn.org