Skip to content
Mastering Algorithms with C 《算法精解:C语言描述》源码及Xcode工程、Linux工程
C C++ Shell
Branch: master
Clone or download

Latest commit

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Algorithms.xcodeproj rename rsa bug fix May 27, 2017
Example fix comments Jun 5, 2017
MasteringAlgorithms.xcodeproj rename rsa bug fix May 27, 2017
include Revert "fix lz77 bug" Dec 7, 2018
source fix: remove debug printf Dec 7, 2018
.gitignore init project Apr 6, 2017
.travis.yml test: try name script Dec 7, 2018
LICENSE Initial commit Apr 5, 2017
README.md update README May 28, 2017
ScreenShot.png add ScreenShot May 27, 2017
run fix: run script on linux (add -lm) Dec 7, 2018

README.md

《算法精解:C语言描述》源码及Xcode工程、Linux工程

Mac 下使用 Xcode 打开 MasteringAlgorithms.xcodeproj 即可。Algorithms.xcodeproj 为算法库文件工程。每个 Example 都是单独的运行文件。

Mac 或者 Linux 命令行

只需要有简单的 c 编译环境cc

然后执行 ./run bfs,其中 bfsExample 中的示例目录。

也可以自己使用cc gcc 等,gcc source/*.c Example/bfs/main.c -I ./include -o bfs && ./bfs

ScreenShot

数据结构

链表

栈和队列

集合

哈希表

堆和优先队列

算法

排序和搜索

数值计算

数据压缩

数据加密

图算法

几何算法

You can’t perform that action at this time.