c语言实现清华大学严蔚敏那本《数据结构》书上的基本算法。这是我实习阶段的成果,希望能给刚学数据结构的同道中人一些帮助。
数据结构-基本算法-孩子兄弟链表(学生时代源码,调试可运行)
Data structure ppt+ basic algorithm doc
数据结构 栈和队列基本算法,我自己全部实现过了,没问题。
数据结构和算法方面的书籍,介绍了一些数据结构方面的知识Algorithm Information Theory
查找算法 线性查找二分查找差值查找斐波那契查找 鉴于在排序算法时, 搞得比较乱的情况, 导致查找不太方便. 因此, 在写查找算法时, 我会将所有的东西都写在一起, 便于查找和阅读 在java中,我们常
建立GetNext函数来进行next[j]的计算,注意讲义中该函数实现是采用数组的0号单元存放串的长度方式,要注意变换 建立KMP函数来对主串进行移动,并需要输出每一次移动到模式的位置j 建立主函数,
*/ -------------------------------------------------*/ 出自: 编程中国 http://www.bc-cn.net*/ 作者: cobby E
链队列基本操作问题描述使用带头结点的单链表实现队列完成该队列的入队出队判断队空操作.输入形式输入若干个整数以空格分隔其中0表示做出队操作不为0的整数为入队元素.输出形式依次输出队列的全部元素若队列为空
单链表基本练习删除问题描述设有头结点单链表实现单链表删除.输入形式第一行输入N M N表示单链表表长M表示执行M次删除第二行输入N个整数建立有头结点单链表接着输入M个整数每个整数表示删除结点的位置位序