资源列表
[数据结构常用算法] Josephus
说明:有编号从1到N的N个人坐成一圈报数,报到M的人出局,下一位再从1开始, 如此持续,直止剩下一位为止,报告此人的编号X。输入N,M,求出X。-Numbered from 1 to N of the N individuals into a lap to sit reported the number of people who report M out, the next one to start from, and so continued until the remaining one d<陆海表> 在 2025-06-14 上传 | 大小:367kb | 下载:0
[数据结构常用算法] PostFixCompute
说明:postfixComputer, Calculate the postfix expression, such as 45+,which means 4+5,and the result is 9. The program is very applied.<刘波> 在 2025-06-14 上传 | 大小:368kb | 下载:0
[数据结构常用算法] Elevator
说明:数据结构 关于5层电梯的模拟 希望对学习数据结构的同学们有一点帮助-Data structure on the 5-story elevator Simulation data structures want to learn a little of the students to help<lingxiaodong> 在 2025-06-14 上传 | 大小:365kb | 下载:0
[数据结构常用算法] SortAlgorithm
说明:Delphi实现的排序算法及效率比较,含:冒泡排序,插入排序和Shell排序。-Delphi to achieve the efficiency of sorting algorithms and more, including: bubble sort, insertion sort and Shell sort.<wu> 在 2025-06-14 上传 | 大小:366kb | 下载:0
[数据结构常用算法] white_black
说明:1、问题描述 设平面上分布着n个白点和n个黑点,每个点用一对坐标(x, y)表示.一个黑点b=(xb,yb)支配一个白点w=(xw, yw)当且仅当xb>=xw和yb>=yw.若黑点b支配白点w,则黑点b和白点w可匹配(可形成一个匹配对).在一个黑点最多只能与一个白点匹配,一个白点最多只能与一个黑点匹配的前提下,求n个白点和n个黑点的最大匹配对数. 2、具体要求 要求:时间效率在O(NlgN) 3、实现方法 基于贪心算法 以x坐标的升序对黑点排序(可用QUIC<zaclina> 在 2025-06-14 上传 | 大小:367kb | 下载:0
[数据结构常用算法] nqueens.tar
说明:N皇后问题的所有解演示,用Qt做的-N-Queens problem all solutions demonstrate, to do with Qt. . . . . . . . . . . . .<Dooit Lee> 在 2025-06-14 上传 | 大小:367kb | 下载:0
[数据结构常用算法] Huffman_Tree
说明:利用哈夫曼树,对要发送的密文进行编码,在vs2005下实现-The use of Huffman trees, the ciphertext to be sent to encode<zxysong> 在 2025-06-14 上传 | 大小:367kb | 下载:0
[数据结构常用算法] string
说明:本程序是中国科学技术大学数据结构及其算法的上机作业,主要实现串的模式匹配,本程序为本人亲自编写并在VC++6.0中调试通过。-This program is the University of Science and Technology of China data structures and algorithms on machine operation, the main achievement of the string pattern matching, the program wri<王启> 在 2025-06-14 上传 | 大小:368kb | 下载:0