资源列表
[数据结构常用算法] 112213432545435
说明:n后问题,实现n后问题的求解,并且可以输出最有解-n, n after realizing the problem solving, and can export most Solution<李真志> 在 2025-06-17 上传 | 大小:240kb | 下载:0
[数据结构常用算法] TSP
说明:旅行商问题: 某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。-traveling salesman problem : A salesman to a number of cities to sell commodities, known the distance between cities (or travel). He selected from a resident, after<章为到> 在 2025-06-17 上传 | 大小:55kb | 下载:0
[数据结构常用算法] shujijiegou
说明:用数据结构做的约瑟夫问题,其中还包括类似问题中的猴子选大王算法 -do with the data structure Joseph problems, which also included a similar problem is the monkey king algorithm election<刘佳奇> 在 2025-06-17 上传 | 大小:20kb | 下载:0
[数据结构常用算法] stack
说明:不带头结点的链式堆栈类,1、 定义并实现不带头结点的链式堆栈类,除构造和析构函数外,成员函数还有入栈、出栈、取栈顶元素、判断堆栈是否非空,头文件为“nohead_LinStack.h”。-node does not take the lead in the category of chain stack, 1, and the definition does not take the lead in realizing the chain nodes stack category, In add<庄文> 在 2025-06-17 上传 | 大小:11kb | 下载:0
[数据结构常用算法] circlechain
说明:定义并实现带头结点的循环双向链表类,除构造和析构函数外,成员函数还有取数据元素个数、插入、删除、取数据元素-definition and take the lead in achieving the cycle node type two-way linked list, in addition to the structural and destructor function, members also function from the number of data elements, in<庄文> 在 2025-06-17 上传 | 大小:19kb | 下载:0
[数据结构常用算法] shunxuchazhao
说明:顺序查找法 关于数据结构的基本查找算法实现-law on the order of search data structure of the basic search algorithm<puma> 在 2025-06-17 上传 | 大小:144kb | 下载:0
[数据结构常用算法] knight
说明:骑士遍历问题,在一个n*n个方格的国际象棋棋盘上,马(骑士)从任意指定方格出发,按照横1 步竖2 步,或横2 步竖1步的跳马规则,走遍棋盘的每一个格子,且每个格子只走1次。-Knight, in an n* n box at the international chess board, Ma (Knight) from the arbitrary designation box and, in accordance with a further horizontal two-step verti<张三> 在 2025-06-17 上传 | 大小:1kb | 下载:0
[数据结构常用算法] bstringk
说明:离散01串问题,(n,k)01 串定义为:长度为n 的01 串,其中不含k 个连续的相同子串。对于给定的正整数n 和k,计算(n,k)01 串的个数。-discrete series of 01 questions, and (n, k) 01 Series : the definition of the length of n strings of 01, which is non-consecutive k-the same string. For a given positive inte<张三> 在 2025-06-17 上传 | 大小:1kb | 下载:0