登录

最新会员 最新下载

成为了本站VIP会员

12月25日 15:38

成为了本站VIP会员

12月25日 12:28

成为了本站VIP会员

12月25日 12:10

成为了本站VIP会员

12月24日 23:54

成为了本站VIP会员

12月24日 23:29

成为了本站VIP会员

12月21日 19:40
已选条件
  1. 编程语言:C#
  2. 代码类别:数据结构
  3. 发布时间:一年内
全部撤销
编程语言 更多 收起
代码类别 更多 收起
发布时间
更多选项

1. Internal-comparison-algorithm

  系统用srand()函数产生一个以当前时间开始的随机种子。其产生的种子用选择排序、冒泡排序、快速排序将顺序表中的数字排好,设置变量记录每种排序关键字的移动次数和关键字的比较次数。选择排序:利用L.length-1个循环,将随机种子按从小到大的顺序排好。(System with srand () function generates a random seed to start the current time. Which produces seeds with selection sort, bubble sort, quick sort the order of numbers in the table lined up, set the variable record number of comparisons for each mobile number and keyword sort key. Sort: use L.length-1 cycle, the random seed small to large order lined up. )

3
下载
55
浏览
2015-03-14发布

2. Phone-book

  数据结构课程设计 -电话本(运用了MFC图形化界面)(Curriculum design- the phone book)

8
下载
97
浏览
2015-03-09发布

3. fml

  已知二叉树的先序遍历结果,建立二叉树并输出其先序、中序、后序遍历结果(Build a binary tree and print the results of preorder, midorder and postorder traversals based on the known result of preorder traversal)

3
下载
96
浏览
2015-02-15发布

4. zuixiaoshengchengshu

  最小生成树C语言程序,提供给喜欢编程以及数学建模的同学(Minimum spanning tree C language program)

6
下载
140
浏览
2015-02-08发布

5. build_max_heap

  最大堆排序算法,C++语言编写,原程序,算法导论(The maximum heap sort algorithm, C++ language)

7
下载
125
浏览
2015-01-26发布

6. Insert-and-delete-binary-sort-tree

  用c/c++写的二叉排序树的插入与删除,有兴趣的朋友可以看一下(Insertions and deletions using c/c++ to write binary sort tree)

8
下载
100
浏览
2015-01-22发布

7. pinfanfangwen

  设有一头指针为L的带有表头结点的非循环双向链表,其每个结点中除有prev(前驱指针),data(数据)和next(后继指针)域外,还有一个访问频度域freq。在链表被起用前,其值均初始化为零。每当在链表中进行一次Locate(L,x)运算时,令元素值为x的结点中freq域的值增1,并使此链表中结点保持按访问频度非增(递减)的顺序排列,同时最近访问的结点排在频度相同的结点的最后,以便使频繁访问的结点总是靠近表头。试编写符合上述要求的Locate(L,x)运算的算法,该运算为函数过程,返回找到结点的地址,类型为指针型。(Has a head pointer is non-circular doubly linked list L with a header node, each node in addition to prev (precursor pointer), data (data) and next (successor pointers) outside, there is an access frequency degree domain freq. Before the list was hired, their values are initialized to zero. Whenever carried out in the list once Locate (L, x) when the operation, so that the element node x is the value in freq domain by one, and keep this list in the node-access frequency of non-increasing (decreasing) the order, while a recent visit to the nodes in the same row of the frequency of the last node, so that the nodes are frequently accessed tables are always near the head. Locate (L, x) algorithm is prepared in accordance with the above requirements of the test operation, the operation as a function of the process, return to find the address of the node of type pointer.)

11
下载
111
浏览
2015-01-15发布

8. QUICKSORT

  用C语言实现的普通快速排序,和随机快速排序进行对比(With ordinary C language implementation of quick sort, quick sort and compare the random)

3
下载
104
浏览
2015-01-12发布

9. jose

  约瑟夫环(约瑟夫问题)是一个数学的应用问题:已知n个人(以编号1,2,3...n分别表示)围坐在一张圆桌周围。从编号为k的人开始报数,数到m的那个人出列;他的下一个人又从1开始报数,数到m的那个人又出列;依此规律重复下去,直到圆桌周围的人全部出列。通常解决这类问题时我们把编号从0~n-1,最后结果+1即为原问题的解。 (Josephus (Josephus problem) is the application of a mathematical problem: Given n individuals (with numbers 1,2,3 ... n respectively) sitting around a round table. From the number of people gettin k, number of the m man out of the line he s the next person and a number of gettin number to m the man was out of the line and so the law is repeated until the round table were all out of the column. We numbered 0 ~ n-1, the final result is the original problem solution+1 usually solve these problems.)

5
下载
137
浏览
2015-01-09发布

10. LINK

  建立链表的算法: 新节点链入表尾建立链表: 动态分配第一个节点变量; 用指针head 妥善保存链表第一个节点的地址值; 依次动态分配一个新节点变量; 将上一个节点的指针域指向新生成的节点; 循环3),4)步骤,直到所有节点均连入链表; 将最后一个节点的指针域赋值为0; (Establish the list of algorithms: The new node links footer build list: Dynamic allocation of the first node variable Keep the list head pointer of the first node address value In order to dynamically allocate a new node variable The domain of a node pointer to the new generation of nodes Cycle 3), 4) step, until all nodes are connected to the chain Pointer field will last node assigned to 0 )

7
下载
116
浏览
2015-01-05发布

11. exp2-1

  数据结构(第四版)第二章上机实验题源程序答案详解(Data structure (fourth edition) chapter on lab answer questions Detailed source)

4
下载
127
浏览
2014-12-31发布

12. DoubleStack

  数据结构基础内容,两栈共享空间,参考《大话数据结构》(Structural basis of data content, two stacks shared space, refer to Westward data structure )

3
下载
131
浏览
2014-12-06发布

13. Detailed-analysis-of-Uboot

  详细分析了Uboot1.6的流程、主要的数据结构,及一些重要细节。(Uboot1.6 startup code integrity analysis)

3
下载
72
浏览
2014-11-28发布

14. Strassen-code

  思塞恩算法 常用算法之一 算法导论提及(strassen algorithm which can run correctly)

3
下载
100
浏览
2014-11-28发布

15. arrangement

  假设要在足够多的会场里安排一批活动,并希望使用尽可能少的会场。设计一个有效的贪心算法进行安排。(这个问题实际上是著名的图着色问题。若将每一个活动作为图的一个顶点,不相容活动间用边相连。使相邻顶点着有不同颜色的最小着色数,相应于要找的最小会场数。) 对于给定的k 个待安排的活动,编程计算使用最少会场的时间表。 (Suppose you want to arrange a number of activities in the hall more than enough, and want to use as little as possible venue. Design an effective greedy algorithm arrangements. (This problem is actually well-known graph coloring problem. If each activity as a vertex map, with the side connected between incompatible activities. Makes coloring adjacent vertices with minimum number of different colors, corresponding to looking The minimum number of venue.) K to be arranged for a given activity, calculated using a minimum of venue programming schedule.)

7
下载
107
浏览
2014-10-22发布

16. Fa_Pai

  关于随机发牌算法的小程序,作为数据结构的大作业,开发环境是VC(Random licensing algorithm for small procedures, as big job data structures, the development environment is VC)

3
下载
108
浏览
2014-10-16发布

17. program_of_sorts

  程序中含有各种排序算法,包括了数据结构的常见算法,在处理一些排序的问题时由很大帮助(the program has several sort methods which are useful in solving problems.)

4
下载
45
浏览
2014-10-06发布

18. SequenceQueue

  这个程序的功能是实现顺序队列,包括插入,删除,查找,清空,销毁。虽然顺序队列用的不多,但是初学者应该要掌握。(The function of this program is to achieve the order queue, including insert, delete, find, clear, destroy. Although the order of the queue is not used much, but beginners should grasp.)

5
下载
61
浏览
2014-09-22发布

19. equation

  使用C语言编写解二元一次方程组的源代码用于求解二元一次方程(solve equation set)

9
下载
85
浏览
2014-09-21发布

20. double-link

  双链表的情况与单链表类似,只是增加了一个前置链而已,以下代码是对双链表的一些基本操作,如:双链表的建立,求链表的长度,在链表中插入 新结点,删除链表中的结点等(some operation to double link,such as creat, insert,delete,etc)

5
下载
53
浏览
2014-08-19发布