搜索资源列表
MinPath
- 数据结构应用,用以寻找2点之间的最短路径,有效节省时间。以上程序只是一个雏形-application data structures, 2:00 to find the shortest path between effectively save time. Above procedure is just a prototype
pro
- 如果采用单链表保存单词,可采用如下办法压缩存储空间。如果两个单词的后缀相同,则可以用同一个存储空间保存相同的后缀。例如,原来分别采用单链表保存的单词Str1“abcdef”和单词Str2“dbdef”,经过压缩后的存储形式如下。 请设计一个高效的算法完成两个单链表的压缩存储,并估计你所设计算法的时间复杂度。 要求:阅读预设代码,编写函数SNODE * ziplist( SNODE * head1, SNODE * head2 ) ziplist的功能是:
4
- 数据结构中 三元组顺序表存储稀疏矩阵并实现矩阵的转置-Three tuple sequence charts save the sparse matrix and realize the matrix transposition.
2010quicksort
- c++用栈代替递归实现的快速排序,快速排序是一种比较节约时间的排序,一般用递归的方法实现,用栈虽然占用空间比递归大,但不要像递归一样把大多的时间浪费在递归的过程中,特别是对数字比较多的排序更有效-Recursive stack instead of using quick sort, quick sort is a kind of sorting to save time, usually with a recursive method to achieve, although the use
tree
- 二叉排序树,实现简单的排序,删除,插入,保存,恢复等功能-Binary sort tree, the realization of a simple sort, delete, insert, save and restore functions
cross
- 十字链表,可实现插入,删除,保存,恢复等功能-Cross linked lists, can be insert, delete, save and restore functions
graph
- 图函数,实现插入,删除,保存,恢复等功能-Map function, the realization of insert, delete, save and restore functions
sourcecode
- 以上一共五个在VC环境下编写的程序,分别为串的基本操作,哈夫曼编译码系统,简单词法分析器,进程转换模拟控制,最短路径搜索算法。为节省上传时间,只有源代码,工程文件都删除了,但是上述源码都在本机上编译通过,并且能够正确运行。谢谢!-More than a total of five in the VC environment prepared by the procedure, namely the basic string operations, Huffman encoding and dec
MergesorL
- 支持静态链表信息的归并排序,能够节省算法的空间开销-Static list of information to support the merging sort algorithm can save space overhead
GPS
- GSP寻找最短路径的算法 可以用文件保存输入的信息 存储地址D://存储.txt-GSP find the shortest path algorithm can save storage address information entered D:// storage. Txt
YuRenGuoHe
- “渔人过河”是数据结构里面很常见的一个课题。要求是找出最好路径,并将路径保存输出,这里面涉及到链表二叉树的知识。技巧性还是有一些的。-" Fisherman' s across the river" is a very common data structure inside of an issue. Requirement is to find the best path, the path and save the output, there is related t
PrimeNumber
- 一个用来计算质数的小程序,可以把每次计算的结果保存,下次可以接着从上次的结果开始重新计算-One used to calculate the prime number of small programs, can save the results of each calculation, the next can then start from the last recalculation of the results of
StudentsInformationManagement(C)
- c语言编程,采用链表数据结构 包含学生信息新增,插入,查询,删除,修改,保存以及导入文件等.-c language programming, using linked list data structure that contains student information to add, insert, query, delete, modify, save and import documents.
poly_multi
- 用单链表实现多项式乘法。创建一个PolyNode类,用来保存单项式的内容。单链表用来储存多项式,为方便以见,储存时以降幂排列,这样有利于操作。在程序中操作单链表都是用迭代器来实现的。 在输入单链表时也要以降幂排列输入,相乘过程中每两个单项式相乘,然后将相乘得到的单项式结果插入到乘积多项式的正确位置。-Single linked list to achieve polynomial multiplication. Create a PolyNode class to store the con
EXTENDS
- C++入门实例,对继承与组合的初步应用。可以让用户选择在指定位置打印出不同的图形,如正立等腰三角形,倒立等腰三角形,矩形,正方形、菱形和多边形。图形由随机选择的*或者#组成。 请为每种图形设计一个类,这些类之间的关系可能是继承或者组合。 每个类需要能保存该图形对象的参数,改变参数的方法以及在屏幕上用字符打印该图形的方法。 程序根据用户的选择产生一个新图形的对象,为该对象设置参数并打印。 -C++ Getting Started ex
1
- 数据结构约瑟夫环的实现1. 本演示程序中,人数n应为任意的,首先应输入一个值赋给初始报数上限m,程序应能自动保存出列人的序号和将出列的人所持的密码赋给m,再次作为报数上限,如此循环,直至所有人都出列为止。-Implementation of data structures Joseph Central 1. The demonstration program, the number n should be arbitrary, at first, enter a value assigned t
dianlianbiao.txt.tar
- 创建一个保存学生基本信息的单链表,实现学生信息的建立(尾部插入和头部插入都要) 插入 删除 查看 逆置 删除值为X 等功能-Save the basic information students create a single list, to achieve the establishment of student information (and head into the tail to be inserted) into the deleted view the inverse func
tongxunlu
- 制作一个简易的通讯录,包括基本操作和存储功能。 用〈〈数据结构〉〉中的双向链表作数据结构,结合C语言基本知识。编写一个通讯录管理系统。以把所学数据结构知识应用到实际软件开发中去。 设计内容:本系统应完成一下几方面的功能: 输入信息——enter() 显示信息———display( ) 查找以姓名作为关键字 ———search( ) [由一人完成] 删除信息———delete( ) 存盘———save ( ) 装入———load( ) 任务: 每条信息至包含 :姓名
2(2)
- 计算24点的C程序(穷举法) 几年前,女朋友很喜欢和我玩计算24点的游戏,来测试谁的反应更快一些,结果我总是输而不得不承认在这方面她比我强。于是我就用C和我可怜的数据结构知识写了这个程序来挽回点面子,结果竟然让她很佩服。现在女朋友已经成功升级成老婆了,这程序也久没有用武之地了,就放在这里给和我们有一样故事的人们参考一下吧! -Calculate the C 24-point program (exhaustive method) a few years ago, and my girlfri
kong
- 通讯录,实现添加、插入、删除、保存、读取等功能-Contacts, achieve add, insert, delete, save, reading and other functions
