Elementary Algorithms

简介:
这是一本关于基本算法和数据结构的免费书。本书不仅关注命令式 (或过程式) 方法,还包括纯函数式算法和数据结构。它不需要读者掌握任何编程语言,因为所有的算法都是用数学函数和伪代码描述的。关于算法的书籍很多,如《算法导论》、《计算机程序设计艺术》、《计算机程序的结构与解释》等……为什么是另一本书?是车轮的再造吗?这本书根本无法与上述经典圣经相提并论。它有一些功能,如:
所有算法都以数学公式和伪代码描述。我希望它通过使用代数符号带来一些优雅的味道。所有算法都以纯功能和命令式方法实现。这些示例以多种编程语言提供,包括C,Haskell,Python,C,Scheme/Lisp。Haskell是所有函数实现的主要语言。
换句话说,这本书教你如何像程序员一样思考 -- 找到实用的效率算法来解决你的问题。
英文简介:
Why?
There are plenty of books about algorithms, such as "Introduction to algorithms", "The art of computer programming", "structure and interpretation of computer programs"… why another book? Is it reinvention of wheel?
This book can"t compare with the above classic bibles at all. It has some features like:
- All algorithms are described in math formulas and pseudo codes. I hope it bring some taste of elegant by using algebraic symbols.
- All algorithms are realized in both purely functional and imperative approaches.
- The examples are provided in multiple programming languages, including C, Haskell, Python, C++, Scheme/Lisp. Haskell is the main language for all functional implementations.
Content
The following content are covered in this book (in the order of appearance)
- Binary search tree, insertion sort, red-black tree, AVL tree, Trie, Patricia, suffix tree, B-tree;
- Binary heap, Leftist heap, skew heap, splay heap, selection sort, binomial heap, Fibonacci heap, pairing heap;
- Queue, Finger tree based sequence, quick sort, merge sort, binary search, saddle-back search, KMP, Boyer-Moore, DFS, BFS, Greedy algorithm, Dynamic programming.
- 书名
- Elementary Algorithms
- 译名
- 基本算法
- 语言
- 英语
- 年份
- 2021
- 页数
- 503页
- 大小
- 6.16 MB
- 标签
- 算法
- 下载
Elementary Algorithms.pdf
- 密码
- 65536
最后更新:2025-04-12 23:57:51