-
C语言实现的寻找多数元素代码
C语言实现的寻找多数元素代码,含英文注释。算法采用《算法设计技巧与分析》(沙特)一书上的方法。在一个整数序列A中,如果整数r在A中出现的次数大于序列A的一半,那么我们把这个r称为多数元素。如何更快的找出这个元素呢?在原序列中去除两个不同的元素后,那么在原序列中的多数元素在新序列中还是多数元素。
- 2022-11-30 03:55:03下载
- 积分:1
-
快速排序
基本思想:通过一趟排序,将待排序记录分割成独立的两部分,其中一部分记录的关键字均比另一部分记录的关键字小,则可分别对这两部分记录进行排序,以达到整...
快速排序
基本思想:通过一趟排序,将待排序记录分割成独立的两部分,其中一部分记录的关键字均比另一部分记录的关键字小,则可分别对这两部分记录进行排序,以达到整个序列有序-Basic idea of quicksort: sort through the trip, will be to sort records is separated into two independent parts, some of which are recorded in another part of the record than keyword keyword small, then the two were part of the record sort, so as to achieve the entire sequence of orderly
- 2022-03-10 10:21:56下载
- 积分:1
-
数据结构(C++版)的演示程序,详细演示归并排序的具体调用过程...
数据结构(C++版)的演示程序,详细演示归并排序的具体调用过程-data structure (C++ version) demonstration program, a detailed presentation of specific merge sorting process called
- 2022-01-26 01:48:42下载
- 积分:1
-
学习一个熟练使用数据库的基本步骤
了解设计数据库的基本步骤
熟练使用T-SQL实现建库、建表、加约束
掌握T-SQL编程,实现功能强大的查询
掌握创建索引、视图,快速访问数据库
掌握创建存储过程,实现复杂的业务规则
理解触发器的原理,实现高级的约束,以上摘自幻灯片,这个教程就是关于这一类的-Learn the basic steps of the design of a database of skilled use of T-SQL to achieve the Treasury building, built form, plus bound master T-SQL programming, to achieve a powerful grasp of the query to create the index, view, fast access to the database have to create stored procedures, complex business understanding of the principles of the rules of flip-flop to achieve high-level constraints
- 2022-02-06 09:19:48下载
- 积分:1
-
迷宫算法程序学习,数据结构里的经典学习程序,代码经过自己的优化,加快了搜索速度...
迷宫算法程序学习,数据结构里的经典学习程序,代码经过自己的优化,加快了搜索速度-maze procedures learning algorithms, data structures of classical learning process, by its own code optimization to speed up the search process
- 2022-01-26 05:22:03下载
- 积分:1
-
具有n 个顶点的无向网络G的每个生成树刚好具有n
具有n 个顶点的无向网络G的每个生成树刚好具有n-1条边,采用三种不同的贪婪策略来选择这n-1条边。-n vertices to the non-G network spanning tree just with each n-1 edge, using three different strategies to choose greed that n-1 edge.
- 2022-04-16 04:01:43下载
- 积分:1
-
Algorithm for four
四色算法代码,已经在OMNETPP平台上编译成功!-Algorithm for four-color code has been compiled successfully OMNETPP platform!
- 2023-06-11 13:20:03下载
- 积分:1
-
本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树
本书是关于计算机科学与工程领域的基础性研究科目之一――数据结构与算法的专著。 本书在简要回顾了基本的C++ 程序设计概念的基础上,全面系统地介绍了队列、堆栈、树、图等基本数据结构,以及贪婪算法、分而治之算法、分枝定界算法等多种算法设计方法,为数据结构与算法的继续学习和研究奠定了一个坚实的基础。更为可贵的是,本书不仅仅介绍了理论知识,还提供了50多个应用实例及600多道练习题。 本书内容广博权威,结构清晰合理,是一本全新的有关数据结构与算法的教材,对于计算机科学与工程领域的从业人员也是一本很好的参考书。-the book is on the computer science and engineering fields, the basis for one of the subjects of study-- data structure and algorithm monographs. The book in a brief review of the basic design concept C program on the basis of a comprehensive and systematic introduction of the queue, stack, trees and map basic data structure and the greedy algorithm, divide and conquer algorithm, branch-and-bound algorithm multiple algorithm design methods, data structures and algorithms for continuous learning Research and lay a solid foundation. Even more valuable is that the book not only on the theoretical knowledge but also provided more than 50 application examples and more than 600 Exercises Road. The contents broad authority, a clear and reasona
- 2022-01-21 04:28:51下载
- 积分:1
-
Access数据库下实现的系统,功能很强大,适合初学者学习~
Access数据库下实现的系统,功能很强大,适合初学者学习~-Implemented under the Access database system, function is very powerful, suitable for beginners to learn ~
- 2023-07-06 03:10:03下载
- 积分:1
-
方便的数据库连接调试程序
方便的数据库连接调试程序-convenient debugging procedures Database Connection
- 2022-01-28 19:42:40下载
- 积分:1