# 算法列表

算法列表是一份有组织的编目，收录有名称、定义明确的计算过程：即把输入转换为输出的、无歧义的有限步骤序列。美国国家标准与技术研究院（NIST）将算法定义为“一个明确规定的数学计算过程；一套规则，若遵循之，将给出规定的结果”。<sup>[1](https://csrc.nist.gov/glossary/term/Algorithm)</sup> 没有任何单一目录能够穷尽所有算法，因此实用的列表通常按算法所解决的问题、所采用的设计技术，或两者兼有来分组。NIST的《算法与数据结构词典》便是这样一部参考书，它始于1998年，由保罗·E·布莱克（Paul E. Black）担任主编；该词典有意排除了专用于商业数据处理、通信、操作系统或分布式算法的算法，也排除了专用于编程语言、人工智能、图形学或数值分析的算法。<sup>[2](https://xlinux.nist.gov/dads/)</sup>

| 关键事实 | 详情 |
|---|---|
| 定义 | 一个明确规定的数学计算过程；一套规则，若遵循之，将给出规定的结果（NIST）<sup>[1](https://csrc.nist.gov/glossary/term/Algorithm)</sup> |
| 最古老的命名算法 | 求最大公约数的欧几里得算法，约公元前300年有记载，至今仍在日常使用<sup>[3](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)</sup> |
| 词源 | 来自花拉子米（al-Khwarizmi），他于公元820年撰写了关于计算的论著，后来中世纪拉丁语译者将其名转写为Algoritmi<sup>[3](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)</sup> |
| 形式定义时代 | 三种等价进路：λ可定义性（丘奇-克林，1932—1934）、一般递归性（哥德尔-埃尔布朗，1934）和图灵机（1936）<sup>[4](https://academic.oup.com/book/54493/chapter-abstract/422572990)</sup> |
| 排序下界 | 最快的通用排序算法所需的运行时间略多于线性时间，即 \( O(n \log n) \)<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup> |
| 主要设计范式 | 分治法、剪枝搜索、动态规划、贪心策略、随机化、线性规划和近似算法<sup>[6](https://www.cs.purdue.edu/homes/tamaldey/course/580/)</sup> |
| 参考目录 | NIST《算法与数据结构词典》（始于1998年）和石溪算法库（Stony Brook Algorithm Repository），后者按类型组织算法<sup>[2](https://xlinux.nist.gov/dads/)</sup> |

## 什么算作算法

算法包含无歧义定义的数据结构、输入与输出，以及完成任务的操作。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup> 一个关键性质是：步骤数量、所需工作量和所耗时间都必须是有限的。<sup>[7](https://arxiv.org/abs/2107.10675)</sup> 数据结构是算法定义的一部分：一个建立在网格单元上的地图导航算法，如果改为给定一个交叉口列表，通常就无法工作，因此数据设计决定了算法的性质。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup>

今天所谓“算法”的大部分含义，最早是在20世纪发明的，当时数字计算机使算法得以与遵循算法的人类相分离。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup> 为“算法”和“可计算函数”寻找精确数学刻画的过程，按时间顺序产生了三种著名的等价进路：λ可定义性（丘奇-克林，1932—1934）、一般递归性（哥德尔-埃尔布朗，1934）和图灵机（1936）。<sup>[4](https://academic.oup.com/book/54493/chapter-abstract/422572990)</sup>

## 古代与前现代算法

欧几里得算法是任何历史列表的标准起点。约公元前300年，欧几里得在《几何原本》中记载了一种求最大公约数的程序：用较大数除以较小数，取余数，重复直至余数为零；最后一个非零余数即为答案。它是有限的、每一步都确定的、有效的，并且是至今仍在日常使用的最古老的命名算法。<sup>[3](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)</sup> 人们普遍认为它是第一个算法。<sup>[8](https://coral.ise.lehigh.edu/~ted/files/talks/Algorithms17.pdf)</sup> 约公元前1800年的巴比伦泥板记录了更早的除法、乘法和开平方的逐步方法。<sup>[3](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)</sup>

其他早期条目包括约公元前200年用于寻找素数的埃拉托斯特尼筛法，以及同一时期归功于佩尔加的阿波罗尼奥斯的阿波罗尼奥斯填装。<sup>[9](https://www.museumofalgorithms.org/timeline)</sup> 这一领域本身的名称出现得更晚：公元820年，穆罕默德·伊本·穆萨·花拉子米（Muhammad ibn Musa al-Khwarizmi）在巴格达的智慧宫工作，撰写了一部关于系统求解线性方程和二次方程的论著，中世纪欧洲学者将其译为拉丁文时，把他的名字转写为Algoritmi，经过algorismus一词的演变，最终成为现代英语中的algorithm。<sup>[3](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)</sup>

## 排序与搜索

排序算法将列表转换为有序列表，一本标准课程教材将桶排序、基数排序、简单插入排序、快速排序、堆排序和归并排序列为典型例子。<sup>[10](https://www.oreilly.com/library/view/design-and-analysis/9788177585957/xhtml/part001.xhtml)</sup> 排序算法种类繁多，有些仅限于特定类型的列表内容；然而，最快的通用方法所需的运行时间仅略多于线性时间，即 \( O(n \log n) \)。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup> 搜索列表，即寻找符合某些条件的元素，构成与之配套的类别，线性搜索和二分搜索是基本条目。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup><sup> • </sup><sup>[11](https://ceng383.cankaya.edu.tr/course.php?page=Syllabus)</sup>

## 图算法

图算法作用于由边连接的一组节点，每条边恰好连接两个节点。<sup>[5](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)</sup> 标准课程内容包括深度优先搜索（DFS）和拓扑排序。<sup>[11](https://ceng383.cankaya.edu.tr/course.php?page=Syllabus)</sup> 对于最小生成树，时间线将1930年那项现称为普里姆算法的成果归功于沃伊捷赫·亚尔尼克（Vojtech Jarnik）和罗伯特·普里姆（Robert Prim）。<sup>[9](https://www.museumofalgorithms.org/timeline)</sup> 迪杰斯特拉最短路径算法是算法教材中的又一标准条目，与二叉堆、二项堆和斐波那契堆等数据结构的摊还分析一同讲授。<sup>[10](https://www.oreilly.com/library/view/design-and-analysis/9788177585957/xhtml/part001.xhtml)</sup>

## 设计范式

算法列表通常按设计算法所用的技术来组织。一份研究生课程大纲将范式列为分治法、剪枝搜索、动态规划、贪心策略、随机化、线性规划和近似算法，用于开发高效的图算法及其他算法。<sup>[6](https://www.cs.purdue.edu/homes/tamaldey/course/580/)</sup> 同一传统中的一本剑桥教材涵盖贪心算法、动态规划和分治法，并强调随机化的作用，其应用范围从跳表等数据结构到降维方法。<sup>[12](https://www.cambridge.org/core/books/design-and-analysis-of-algorithms/D797ACE5A1AEF34773B2A3E34258CD63)</sup>

## 机器学习、密码学与现代条目

现代列表远远超出了经典计算机科学的范围。一份算法时间线将归功于奥古斯丁-路易·柯西（Augustin-Louis Cauchy）1847年的梯度下降归入经典机器学习，将归功于卡尔·皮尔逊（Karl Pearson）1901年的主成分分析归入同一类别；其现代类别还包括神经网络与深度学习、压缩与编码、对称密码学与哈希、分布式系统和量子算法。<sup>[9](https://www.museumofalgorithms.org/timeline)</sup>

密码学提供了近期的增补。NIST于2024年8月13日发布了FIPS 203、FIPS 204和FIPS 205，规定了源自CRYSTALS-Dilithium、CRYSTALS-KYBER和SPHINCS<sup>+</sup>的算法，并选定FALCON用于未来的FIPS 206；HQC于2025年3月11日被选定进行标准化。<sup>[13](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)</sup>

## 算法如何编目与评估

两部参考著作奠定了编目传统。NIST《算法与数据结构词典》涵盖算法、算法技术、数据结构、原型问题及相关定义，包括阿克曼函数等函数以及旅行商问题和拜占庭将军问题等问题，其索引页按领域和类型列出条目。<sup>[2](https://xlinux.nist.gov/dads/)</sup> 石溪算法库按类型组织算法，附有简洁的图示定义和对实现站点的评级。<sup>[2](https://xlinux.nist.gov/dads/)</sup>

对所收录算法的评估结合了理论与实验。在提出新算法时，标准的做法是通过将运行时间界定为关键问题参数的函数，并表明该界优于竞争算法的界，来论证其优越性。<sup>[14](https://cam.cornell.edu/research/algorithms-and-complexity/)</sup> 算法工程由彼得·桑德斯（Peter Sanders）于2009年定义为专注于算法的设计、分析、实现、调优、调试和实验评估的学科，它将实现和经验评估视为算法研究的一部分，而非单独的应用活动，因为具有并行性和内存层次结构的现代硬件不同于传统的机器模型，理论性能考量并不总是具有实际意义。<sup>[7](https://arxiv.org/abs/2107.10675)</sup>

## References

1. [Algorithm, NIST Computer Security Resource Center Glossary](https://csrc.nist.gov/glossary/term/Algorithm)
2. [Dictionary of Algorithms and Data Structures, NIST](https://xlinux.nist.gov/dads/)
3. [The Algorithm as a Concept: From Euclid to Turing, Geschichte der Informatik](https://www.geschichte-der-informatik.de/articles/the_algorithm_as_a_concept/)
4. [Comparing the Church and Turing Approaches: Two Prophetical Messages, The Universal Turing Machine: A Half-Century Survey, Oxford Academic](https://academic.oup.com/book/54493/chapter-abstract/422572990)
5. [Algorithms, CS 102 course text, University of Illinois](https://courses.grainger.illinois.edu/cs102/sp2026/text/algorithms.html)
6. [Algorithm Design, Analysis, and Implementation (CS 580), Purdue University](https://www.cs.purdue.edu/homes/tamaldey/course/580/)
7. [Mendling, Depaire, Leopold (2021). Theory and Practice of Algorithm Engineering. arXiv](https://arxiv.org/abs/2107.10675)
8. [Algorithms: Why and How, Lehigh University](https://coral.ise.lehigh.edu/~ted/files/talks/Algorithms17.pdf)
9. [Timeline, Museum of Algorithms](https://www.museumofalgorithms.org/timeline)
10. [Part 1. Algorithm Design, Design and Analysis of Algorithms, O'Reilly](https://www.oreilly.com/library/view/design-and-analysis/9788177585957/xhtml/part001.xhtml)
11. [Syllabus, Algorithms Course, Cankaya University](https://ceng383.cankaya.edu.tr/course.php?page=Syllabus)
12. [Design and Analysis of Algorithms, Cambridge University Press](https://www.cambridge.org/core/books/design-and-analysis-of-algorithms/D797ACE5A1AEF34773B2A3E34258CD63)
13. [Post-Quantum Cryptography Standardization, NIST CSRC](https://csrc.nist.gov/Projects/Post-Quantum-Cryptography/Post-Quantum-Cryptography-Standardization?data1=v2)
14. [Algorithms and Complexity, Center for Applied Mathematics, Cornell University](https://cam.cornell.edu/research/algorithms-and-complexity/)

---
*Initially written Sep 17, 2026 · Reviewed: Oct 15, 2026 · Edited: Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 逻辑与离散数学 › General discrete mathematics and discrete structures › Discrete mathematics

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/list-of-algorithms

English original: https://www.edgepedia.org/list-of-algorithms
