资源列表

« 1 2 ... .65 .66 .67 .68 .69 2170.71 .72 .73 .74 .75 ... 2656 »

[数据结构常用算法ImprovedEbulliton

说明:冒泡法改进: 1.若某次循环中没有数据交换过,则可认为数据已经有序了,不必再进行循环了,可在程序中设一变量Flag 用来标识有无数据交换 2.如果在一次循环中,最后的某些元素没有交换过,则说明后面这些元 素的顺序已排序,下次循环可不对其进行比较-Bubble Act to improve: 1. If there is no cycles in a data exchange, and may think the data
<yangxh> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法queen

说明:采用递归回溯算法求解N皇后问题;C语言实现,可以动态控制皇后数量-Backward recursive algorithm using N Queen' s problem C language implementation, you can dynamically control the number of Queen' s
<yangxh> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法Stack

说明:简单模拟栈的操作:包括栈的初始化,压栈,栈顶元素弹出以及取栈顶元素;采用C实现-Analog stack easy steps: including the stack initialization, push, pop elements as well as the Top-Top-check elements implementation using C
<yangxh> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法tu

说明:数据结构,实现图的邻接创建和各种遍历遍历(中序,前序,后序)-Data structure, adjacent to the creation of implementation plans and a variety of traversal traverse (in sequence, the former order, after the sequence)
<胡丹> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法HUFFMAN

说明:建立赫夫曼树,然后再由叶子到根实现赫夫曼编码。-Huffman tree set up, and then leaves to the root by the Huffman encoding implementation.
<鱼儿> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法SFE

说明:建立赫夫曼树,然后再由叶子到根实现赫夫曼编码。-Huffman tree set up, and then leaves to the root by the Huffman encoding implementation.
<鱼儿> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法NQueenProblem

说明:这是一个自己实现的N皇后问题c++解法,请各位指教-This is an own implementation of the N Queens problem c++ solution
<测试加利> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法Select

说明:此函数的功能是依次选出两个小的数,不要求原来数组中的数按大小顺序排列。-The function of this function are followed by two smaller number of elected and does not require a number of the original array by the size of order.
<li> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法topsorting

说明:此函数功能是图的遍历算法,用邻接矩阵存储图,然后求出其拓扑排序,再输出其图的信息-Function is to map the function of the traversal algorithm, the adjacency matrix storage map, then calculated the topological sort, then the output of its map information
<li> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法Josephus

说明:编号为1,2,3,……,n的n个人按顺时针方向围坐一圈。任选一个正整数作为报数上限m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-Numbered 1,2,3, ... ..., n of n individuals according to a clockwise direction around a circle. Ch
<许奇龙> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法magic

说明:将魔王的语言抽象为人类的语言:魔王语言由以下两种规则由人的语言逐步抽象上去的:α-〉β1β2β3…βm ;θδ1δ2…-〉θδnθδn-1…θδ1 设大写字母表示魔王的语言,小写字母表示人的语言B-〉tAdA,A-〉sae,eg:B(ehnxgz)B解释为tsaedsaeezegexenehetsaedsae对应的话是:“天上一只鹅地上一只鹅鹅追鹅赶鹅下鹅蛋鹅恨鹅天上一只鹅地上一只鹅”。(t-天d-地s-上a-一只e-鹅z-追g-赶
<于翔> 在 2024-09-21 上传 | 大小:1024 | 下载:0

[数据结构常用算法1

说明:设有n个人站成一圈,每个人持有一个密码(正整数)。现从第t个人开始,按顺时针方向“1,2,3,4,…”循环报数,数到m1(第t个人所持密码)的人出列,然后从出列者的下一个人重新开始报数,数到m2(刚出列者所持密码)的人又出列,如此重复进行,直到n个人都出列为止。-something like Joseph problem
<fengyumoce> 在 2024-09-21 上传 | 大小:1024 | 下载:0
« 1 2 ... .65 .66 .67 .68 .69 2170.71 .72 .73 .74 .75 ... 2656 »

源码中国 www.ymcn.org