搜索资源列表
51623457
- 先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s-preorder non - recursive algorithm # define maxs
51623457
- 先序遍历非递归算法 #define maxsize 100 typedef struct { Bitree Elem[maxsize] int top }SqStack void PreOrderUnrec(Bitree t) { SqStack s StackInit(s) p=t while (p!=null !StackEmpty(s-preorder non- recursive algorithm# define maxsiz
JoyDe
- 利用书中图5.19和图5.20的最大值堆实现一个优先队列。对于队列的操作应该支持下列几种指令: void enqueue[int ObjectID, int Priority] int dequeue[] void changeweight[int ObjectID, int newPriority] 函数enqueue向优先队列中插入一个ID号为ObjectID、优先级为Priority的新对象。函数d
Find
- 在o(n)时间内,从一个数组中寻找到第k大的数-Find a k-th elem from an array
fem
- fortran编写的空间8节点等参有限元程序。-fortran write the space 8 nodes isoparametric finite element program.
5
- 非递归的快速排序算法-#include <iostream> #include <stack> #define MAX_SIZE 11 using namespace std typedef int elem typedef std::stack<int> Stack int partition(elem*pDa
Data_struct_2
- 数据结构课后设计题第二章(2009-06-17 23:19:42)转载标签:数据结构第二章杂谈 分类:编程 ◆2.11② 设顺序表L中的数据元素递增有序。 试写一算法,将x插入到L的适当位置上,并保 持该表的有序性。 要求实现下列函数: void InsertOrderList(SqList &L, ElemType x) 顺序表类型定义如下: typedef struct {
Hashtable
- 哈希表: HashTable H int s,a,n,w,i,q,t g=1 cout<<"输入元素个数n:\n" cin>>n InitList_H(H) for(i=0 i<16 i++) H.elem[i]=10000 for(i=0 i<n i++) {cout<<"输入你要输入的n个数:\n" cin>>
findmine
- 这个源代码是有关扫雷游戏的 内容虽简单 但是注视清晰易懂 没使用任何插件-This is a game that about fine mine ~The elem is clear and there is not any chm
Elem.-Math.-and-Comp.-Tools-for-Engineers-using-M
- This book presents variousMATLAB applications in mechanics and applied mathematics.Our objective is to employ numerical methods in examples emphasizing the appeal of MATLAB as a programming tool. The programs are intende
Binary_Search
- 用二分法查找的思想,实现在正数数组中查找某个元素-The Binary_Search is a programe which is searching a positive elem.
insert--a--elem-in-a-table
- 数据结构编写程序,在顺序表中插入一个元素之后,建立一个新的表,把新的顺序表输出。-Data structure programming, insert an element in the sequence table, create a new table, the new order of the table output.
C
- 停车场管理系统 #include <stdio.h> #include <malloc.h> #define SIZE 3 #define NULL 0 typedef struct { int hour int min } time typedef struct { int num int position time t
hash_basic
- 实现哈希表的基本操作,插入,搜索,输出,删除等功能。-This program will show how to operate to a HashTable.You can display all elems,search a elem,insert elem,delete a elem.
Scorelist
- 编程实现成绩表及其相关操作,具体要求如下: 自定义类型Score为: 结构体类型{学生名+课程名+分数} 自定义类型ElemType为: Score 自定义类型SqList为包含如下两个成员的结构体类型: {基类型为ElemType的动态数组elem int length} 实现如下针对SqList的函数 InputSco OutputSco InputElem OutputElem ListCrea
ElemVariablePsuedo
- Elem Variable Psuedo Source Code for Andriod.
KeyDeclaration
- Elem Template Element Source Code for Andriod.
ElemExtensionDecl
- Elem Extension Decl Source Code for Andriod.
ElemComment
- Elem Comment extends Elem Template Element Source Code for Andriod.
eLEMtEMPLATEeLEMENT.RAR
- Elem Template Element Source Code for Andriod.