搜索资源列表
二叉树操作&图的遍历操作
- 二叉树操作&图的遍历操作, 完全按照里面的文挡用VC所完成的程序, 有详细的说明-binary tree traversal operation of the plan operations, in full accordance with the text inside the block with VC performed by the procedure is described in detail in
mergesort11
- 二分搜索是运用分治策略的典型例子。二分搜索方法充分利用了元素间的次序关系,采用分治策略,可在最坏情况下用O(logn)的时间完成搜索任务。-two hours search is to use the divide and conquer strategy is a typical example. Two-search method full use of the elements in the order, using the divide and conquer strategy, in
GraphTheory
- 一篇很全的图论知识的概论,很适合初学者观看-a very full knowledge of graph theory to the Introduction, which is perfect for beginners to watch
Gramham-CH
- Gramham法求解凸包。从最基本数据结构定义开始实现,有图形界面和动画演示。全套代码。-Gramham method convex hull. Data from the most basic definition of the structure began to realize, graphics and animation interface demo. A full set of code.
recursion_mathod_to_solve_combination_and_all_perm
- 简单的全排列与组合问题的递归解法,数据结构与算法中较基础的问题-simple combination with the full array of recursive method, data structure and algorithm based on the issues than
Calculationsme
- 用线性表实现四则运算,很好的一个版本,老师给了满分-achieve linear Table 4 operation, a very good version, the teacher gave full marks
Thecarstop
- 停车场是一条可以停放n辆车的狭窄通道,且只有一个大门汽车停放安到达时间的先后依次由北向南排列(大门在最南端,最先到达的第一辆车停在最北端)若停车场已经停满n辆车,后来的汽车在便道上等候,一旦有车开走,排在便道上的第一辆车可以开入;当停车场的某辆车要离开时,停在他后面的车要先后退为他让路,等它开出后其他车在按照原次序开入车场,每两停在车场的车要安时间长短缴费。 要求:以栈模拟停车场,以队列车场外的便道,按照从终端输入的数据序列进行模拟管理。每一组数据包括三个数据项:汽车“到达”或“离去”信息
tsinghuadatastructureallcode(CLanguage)2
- 清华 严蔚敏《数据结构》的全部代码实现C语言 -Qinghua Yan Wei Min "data structure" to achieve the full C language code
homework
- 数据结构是编程的基础,本例是本人写的八个基本数据结构的实现方法,用C语言编写,在VC中调试成功,并带有少量的注释,有兴趣的可以研究一下。我在里面尽量使用了指针-data structure is the basis for programming, which in this case is I wrote the eight basic data structure of the method, using C language, in VC debugging success, and wi
LinkedNode
- 链表类,提供了全套的链表处理函数-objectlist, provides a full suite of Chain Functions
Matlab提高篇
- Matlab提高篇介绍了Matlab的语言的一些基本格式。同时提供了丰富的实例,让读者整整体会该语言。-Matlab increase of the Matlab language, the basic format. While providing a wealth of examples to enable readers to a full understanding of the language.
car
- 停车场管理系统 c语言实现 停车场拥有M个车位和一条进入停车场的便道,便道上最多停放N辆汽车。汽车要想进入车位,首先进入便道等候。若有空闲车位,则停车入位,否则在便道继续等候,直至有车位空出。若便道已经停满等候的汽车,后到达的汽车只能离开,选择其他停车场。设计一个停车场管理系统,模拟停车场的运作,并统计停车场的收入。-Parking Management System with M c language parking spaces and a sidewalk into the park
常见算法及函数源代码
- 算法设计与分析 1. 用直接递归方法计算n!: (2)通过键盘输入n的值,( 2. 用直接递归方法计算第n个Fibonacci数: 3. 用直接递归方法计算Ackerman函数: 4. 用直接递归方法给出n个元素的全排列: 8. 用直接递归方法求解Hanoi塔问题 ,Algorithm Design and Analysis 1. Using direct recursive meth
biaodashiqiuzhi.rar
- 该程序解决了数据结构中的表达式求值问题,代码功能齐全,易懂。,The procedures for the settlement of the data structure of the expression evaluation problem, code full-featured, easy to understand.
AStar1
- A-Star算法完整版,c++源码实现 -A-Star algorithm is the full version, c++ source implementation
BOX
- 最少背包问题:假设有许多盒子,每个盒子能保存的总重量为1.0。有N个项i1,i2,…,iN,它们的重量分别是w1,w2,…,wN。目的是用尽可能少的盒子放入所有的项,任何盒子的重量不能超过他的容量。例如,如果想的重量为0.4, 0.4, 0.6和0.6,用两个盒子就能解决。 按如下策略解决此问题:按给定的次序扫描每一个项,把每一个项放入能够容纳他而不至于溢出的最满的盒子。用优先级队列选择要装入的盒子。-Minimum knapsack problem: Suppose there are m
Stack544014
- 用模板实现顺序栈的基本功能:初始化;判断栈空;判断栈满;置空栈;入栈;出栈;要求入栈时,栈非满是可以插入元素,否则抛除异常;出栈时,栈非空返回栈顶元素,否则抛除异常。(陈儒焕组) 5、队列是只允许在一端进行插入操作,而另一端进行删除操作的线性表。如何改造数组实现队列的顺序存储。要求:用模板实现队列的判空;判满;置队空;出队,队列非空时,出队队首元素,否则报错;出队,队列非满时,插入新元素到队尾,否则报错; -The template is the order of the stack t
SPFA
- 求单源最短路的SPFA算法的全称是:Shortest Path Faster Algorithm。 从名字我们就可以看出,这种算法在效率上一定有过人之处。 -For single-source shortest path algorithm for the full name of the SPFA is: Shortest Path Faster Algorithm. From the name we can see that this algorithm in efficie
heapsort
- 从最后一个非叶子结点开始从后往前进行调整,保证了根下的所有子树都是最大堆,最后对根进行调整,使整棵二叉树为最大堆,保证了根结点为整棵数的最大值点,完成了建堆的过程,再将根结点跟最后一个结点进行交换,如此反复操作,则堆排序就完成了,其中堆排序的过程采用了满二叉树的概念。-From the final of a non-leaf node after the move began to be adjusted to ensure that the root of all sub-tree are t
dd
- 清华大学完整版ppt,对学习数据结构有很帮助哦,建议大家多多下载-Tsinghua University, the full version of ppt, learning data structures there are to help Oh, many suggest that you download