资源列表
[数据结构常用算法] Hash
说明:试构造一个算法,从键盘输入一组关键字,按哈希函数H(key) = key MOD 13和链地址法处理冲突构来造哈希表,能对关键字进行查找并显示。 如(19,14,23,1,68,20,84,27,55,11,10,79,33). -Try to construct a method, a set of keywords from the keyboard, press the hash function H (key) = key MOD 13 and the address of th<王玉珏> 在 2025-06-22 上传 | 大小:2kb | 下载:0
[数据结构常用算法] datastructure
说明:严蔚敏版数据结构(C)第二章习题答案源程序-线性表,包括顺序表和链表。代码结构规范简洁,注释完善。全部编译调试通过。-YAN Wei-min version of the data structure (C) Chapter Exercises Answer source- the linear form, including the order of tables and lists. Simple code structure specifications, notes perfect. A<赵稳> 在 2025-06-22 上传 | 大小:26kb | 下载:0
[数据结构常用算法] 4
说明:(1)已知一棵完全二叉树存放于一个一维数组T[n]中,T[n]中存放的是各结点的值。试设计一个算法,从T[0]开始顺序读出各结点的值,建立该二叉树的二叉链表表示。 (2)二叉树的双序遍历(Double-order traversal)是指:对于二叉树的每一个结点来说,先访问这个结点,再按双序遍历它的左子树,然后再一次访问这个结点,接下来按双序遍历它的右子树。试写出执行这种双序遍历的算法。 -(1) known to a complete binary tree stored in a o<huxiameng> 在 2025-06-22 上传 | 大小:1kb | 下载:0
[数据结构常用算法] DeleteSame
说明:删除序列中相同的元素,分为排序后删除和乱序删除,其中排序方法使用冒泡排序。-Remove the same sequence of elements, sorted into and out of order to delete to delete them sorted using the bubble sort.<阿庚> 在 2025-06-22 上传 | 大小:8kb | 下载:0