资源列表
Polynomial
- 一元多项式的加法、减法、乘法的实现,采用顺序和动态存储结构实现,输出结果的升幂和降幂两种排列情况-Unary polynomial addition, subtraction, multiplication implementation, using dynamic storage structures to achieve order and output the result of ascending and descending the arrangement of two
3_9
- 在一个圆形操场的四周摆放着n堆石子。现要将石子有次序地合并成一堆。规定每次只能选相邻的两堆石子合并成新的一堆,并将新的一堆石子数记为该次合并的得分。试设计一个算法,计算出将n堆石子合并成一堆的最小得分和最大得分,并分析算法的计算复杂度。-in a circle around the playground are placed n gravel pile. Is a stone should order to be merged into a heap. Stipulated that only
dijkstra算法实现
- C语言的dijkstra算法实现
dijkstra
- 用C语言实现dijkstra算法-Using C language algorithm dijkstra
GenerationAl
- 用遗传算法解0/1背包问题,背包问题是著名的NP完备类困难问题,此处给出解法。-Genetic Algorithm for 0 / 1 knapsack problem, knapsack problem is a well-known class of NP-complete problems. Solution is here.
马踏棋盘问题.
- 将马随即放在国际象棋的8×8棋盘Board[8][8]的某个方格中,马按走棋规则进行移动。要求每个方格只进入一次,走遍棋盘上全部64个方格。编制非递归程序,求出马的行走路线,并按求出的行走路线,将数字1,2,……,64依次填入一个8×8的方阵,输出之。-Ma immediately on the international chess 8 8 chessboard Board [8] [8] of a box, MA by the rules of chess go mobile. Requi
main
- 用四种方法求Fibonacci数 用四种方法求Fibonacci数-Fibonacci number using four methods of seeking
algorithmPrim
- A C++ Program to implement the Prim s Algorithm to solve Minimum Spanning Tree Problem (MST).
sort1
- 六种排序方法,快速排序,选择排序,归并排序等-sort
FrameWorkMatrix
- 计算骨架阵的算法,数组是动态分配的,用类写的,有很好的封装性和移植性。并且输入时从文本文件TXT读取的!-Skeleton matrix calculation algorithm, the array is dynamically allocated, with the class to write, have a good package and portability. And input from a text file TXT read!
Btree
- 程序功能:二叉树的建立 二叉树的初始化 前序遍历二叉树(递归与非递归方法) 中序遍历二叉树(递归与非递归方法) 后序遍历二叉树(递归与非递归方法) 求二叉树高 求二叉树的叶子总数 退出操作的实现-binary tree
1097
- 里面有4个代码,用c语言写的,分别可以创建链表,插入,删除节点等
