Skip to content

TickPoints/algorithm_learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

算法学习

License Stars Deploy Status Last Commit

目的

Rust实现《算法导论》第3版中的所有伪代码,同时对一些例题进行解答。本项目专为中文开发者设计,旨在辅助算法学习与实践。

阅读

这里开始阅读本书。

本地构建

我们准备了一个setup.sh来帮助您快速构建:

curl -sSL https://raw.githubusercontent.com/TickPoints/algorithm_learning/main/setup.sh | bash

或者通过

# 国内加速镜像
curl -sSL https://ghproxy.com/https://raw.githubusercontent.com/TickPoints/algorithm_learning/main/setup.sh | bash

如果脚本无法正常运行,也可以按照下面的方式安装:

安装必要工具:

  1. 安装 mdBook:
# 默认方式
cargo install mdbook
# binstall
cargo binstall mdbook
# 安装托管的最新版本
cargo install --git https://github.com/rust-lang/mdBook.git mdbook
  1. 安装 mdbook-mermaid插件:
# 默认方式
cargo install mdbook-mermaid
# binstall
cargo binstall mdbook-mermaid
  1. 安装 mdbook-katex插件:
cargo install mdbook-katex

克隆仓库

git clone https://github.com/TickPoints/algorithm_learning.git
cd algorithm_learning

构建或启用服务

mdbook build # serve 也会默认调用 build
mdbook serve # 在 localhost:3000 查看实时预览

贡献

欢迎贡献代码、修复错误或优化文档!

可参考 PR贡献指南 了解详情(可在托管的网站上查阅)。

许可证

本项目使用 MIT 协议开源,其它依赖项目有关内容可从阅读页面了解。

About

为中文开发者提供的算法导论 Rust 实现(工作中...)

Resources

License

Stars

Watchers

Forks

Packages

No packages published