-
二叉树的基本操作及哈夫曼编码译码系统的实现
(1)在二叉链表上设计和实现下列二叉树运算的算法
① 设计递归算法,实现:删除二叉树,求二叉树的高度,求二叉树中叶子结点数,复制二叉树,交换二叉树的左右子树。
② 设计算法,按自上到下,自左向右的次序,即按层次遍历一棵二叉树。
③ 设计main函数,测
- 2022-05-08 19:50:14下载
- 积分:1
-
矩阵运算
矩阵运算--Matrix calculation
- 2022-02-01 09:38:52下载
- 积分:1
-
this file need a traffic log in txt format, given the traffic log, it gets the i...
this file need a traffic log in txt format, given the traffic log, it gets the ip address source and destination to perform the IP-lookup following the Huang s algorithm, as result it returns another txt showing the right port and destination ip
- 2023-04-05 05:05:03下载
- 积分:1
-
usaco1.5 Prime Palindromes代码 prime文件绝对能用,值得拥有
The number 151 is a prime palindrome because it is both a prime number and a
palindrome (it is the same number when read forward as backward). Write a
program that finds all prime palindromes in the range of two supplied numbers a
and b (5
- 2022-08-21 13:33:23下载
- 积分:1
-
icp经典算法
国外网站的上一个ICP算法,开头有对算法参数的说明,很详细,可以看看,希望对大家有所帮助!
- 2022-03-17 20:25:04下载
- 积分:1
-
本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释...
本程序是用纯C语言编的一个基于命令行的四则运算计算器。主要用于计算四则运算表达式的值,同时可以实现四种进制任意两种之间的转换。 主要功能:1.四则运算:能够解释并执行四则运算表达式。四则运算就是包含+、―、*、/、.(小数点)和数字的运算表达式,例如:3+2.9*(5-6/3) -4+(+8*6)等; 2.错误警告:能够对不符合语法的表达式给出相应的错误警告,本程序共给出了8大类警告 3.进制转换:能够做二进制、八进制、十进制、十六进制中任意两种进制之间的互相转换 4.帮助系统:提供完善的帮助系统 5.出错保护:有良好的出错保护系统,命令行输入错误,程序仍能正常运行。-this program is pure C-language series based on a command line of four Operational calculator. Mainly used in the calculation of four computing the value of the expression, and can achieve four band arbitrary conversion between the two. The main functions : 1. Four computing : the ability to interpret and apply the four Operational expression. Four operations is included ,-,*,/,.( decimal point) and digital arithmetic expressions, for example : 2.9* 3 (5-6/3)-4 (8* 6); 2. Wrong warning : to be able to not grammar of expressions is the corresponding error warnings, the procedure is a total of eight major categories of warning 3. Decimal Conversions : can do binary, octal, decimal, hexadecimal arbitrary b
- 2022-02-13 01:07:58下载
- 积分:1
-
最优二分检索
一个速度相当快的最优二分数据检索的源代码,采用C言编写,对于海量数据的检索,查找相当有用
- 2022-07-08 10:49:04下载
- 积分:1
-
快速傅里叶变换的c程序,共分五个部分,此为一维快速傅里叶变换快速算法DFT...
快速傅里叶变换的c程序,共分五个部分,此为一维快速傅里叶变换快速算法DFT-Fast Fourier Transform of the c program is divided into five sections, this is a one-dimensional fast Fourier transform fast algorithm for DFT
- 2022-10-13 13:20:03下载
- 积分:1
-
C语言写的二叉树遍历
这是关于一个数据结构的一个i算法的描述,是二叉树的遍历问题,只有源代码,但是是可以直接运行的,是用C写的。希望能够对大家有所帮助。。
- 2022-01-26 18:15:40下载
- 积分:1
-
java数据结构小程序
一个java写的hash算法,学习java的和算法的朋友可以参考下,也是网上大家讨论的在这里总结下给大家
- 2022-07-27 16:35:00下载
- 积分:1