资源列表
shiyan
- 实验一代码程序 设线性表存放在向量A[arrsize]的前elenum个分量中,且递增有序。 //试设计一算法,将x插入到线性表的适当位置上,以保持线性表的有序性-//Test a program code// set linear table stored in the vector A [arrsize] elenum a component in the first, and increasing order.// Try to design a algorithm, the
shiyan
- 试验二代码 //假设有两个按元素值递增有序的线性表A和B,均以单链表作存储结构,试编写算法将A //表和B表归并成一个按元素值递减有序的线性表C,并要求利用原表的空间存放C。-Test two code// Suppose there are two elements of value by increasing order of the linear form A and B, are linked as a single storage structure, try writi
1800_Data_structure_problems
- 收集自各大高校的数据结构题1800道。方便初学者学习。-1800 Data structure problems. Easy for beginners
N-Queens-Algorithm
- N皇后问题算法,N皇后问题是关于国际象棋的一个著名问题,本算法给出了其中一种解法-N Queens Algorithm
TopologicalSort
- 数据结构的课程设计,关于拓扑排序。实现了一个拓扑排序的程序,可以用来交数据结构作业-Data structure course design, on the topological sort. Implements a topological sort of program, data structures can be used to pay operating
hashTable
- 数据结构的课程设计,实现一个哈希表,哈希函数为模29和模229-Data structure course design, implement a hash table, hash function module 29 and module 229
operation-of-form
- 线性表基本操作,插入,删除,查找倒转,新建-Linear basic operation table, insert, delete, find reverse, the new
youlishi
- 有理数的算法,包括其加减乘除,启用的是单链表的形式来表达-Rational algorithms, including addition, subtraction, enabling a single-chain form of expression
SX23
- 编写一个函数sort(int A[],int n),函数的功能是用选择法对数组进行由小到大的排序,其中n为数组A的元素个数。在主函数中输入10个数据,调用函数排序,然后输出排序好的10个数据。(输入数据:6,8,9,1,2,5,4,7,3,18)-Write a function sort (int A [], int n), the function is the function selection method for sorting an array of small to large,
SX21
- 用二分查找法在已排序好的数组中查找输入的数。如果找到了输出该数的下标,否则输出“未找到”。(数组为:1,2,13,24,25,44,57,63,66,78,90,100)。-Using binary search in a sorted array to find a good number of inputs. If you find out the number of subscr ipts, otherwise output " not found." (Array
EXHASH
- implementation of extendible hashing
maze
- 迷宫有一个入口,一个出口。一个人从入口走进迷宫,目标是找到出口。阴影部分和迷宫的外框为墙,每一步走一格,每格有四个可走的方向,探索顺序为地图方向:南(下)、东(右)、北(上)、西(左)。 输入:输入迷宫数组。第一行数据表示一个 n*n (n<=100)的迷宫;第二行开始的n行为迷宫数据。 其中:0表示路,1表示墙,起点在左上角 <1,1> 的位置,终点在右下角 <n,n> 的位置。 输出:若有解,输出从入口到出口的一条路径,否则输出 the
