mirror of https://github.com/sunface/rust-course
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
148 lines
7.0 KiB
148 lines
7.0 KiB
4 years ago
|
# Summary
|
||
|
|
||
|
[Rust代码鉴赏](./about-book.md)
|
||
|
|
||
|
- [算法之美](algorithms/index.md)
|
||
|
- [排序](algorithms/sorting/index.md)
|
||
|
- [冒泡排序](algorithms/sorting/bubble-sort.md)
|
||
|
- [桶排序](algorithms/sorting/bucket-sort.md)
|
||
|
- [鸡尾酒排序](algorithms/sorting/cocktail-shaker-sort.md)
|
||
|
- [梳排序](algorithms/sorting/comb-sort.md)
|
||
|
- [计数排序](algorithms/sorting/counting-sort.md)
|
||
|
- [地精排序](algorithms/sorting/gnome-sort.md)
|
||
|
- [堆排序](algorithms/sorting/heap-sort.md)
|
||
|
- [插入排序](algorithms/sorting/insertion-sort.md)
|
||
|
- [归并排序](algorithms/sorting/merge-sort.md)
|
||
|
- [奇偶排序](algorithms/sorting/odd-even.md)
|
||
|
- [快速排序](algorithms/sorting/quick-sort.md)
|
||
|
- [基数排序](algorithms/sorting/radix-sort.md)
|
||
|
- [选择排序](algorithms/sorting/selection-sort.md)
|
||
|
- [希尔排序](algorithms/sorting/shell-sort.md)
|
||
|
- [臭皮匠排序](algorithms/sorting/stooge-sort.md)
|
||
|
|
||
|
- [字符串](algorithms/string/index.md)
|
||
|
- [逆序倒转](algorithms/string/reverse.md)
|
||
|
- [数据转换算法](algorithms/string/burrows-wheeler-transform.md)
|
||
|
- [KMP算法](algorithms/string/knuth-morris-pratt.md)
|
||
|
- [马拉车算法](algorithms/string/manacher.md)
|
||
|
- [Rabin Karp算法](algorithms/string/rabin-karp.md)
|
||
|
|
||
|
- [查找算法](algorithms/searching/index.md)
|
||
|
- [二分查找](algorithms/searching/binary-search.md)
|
||
|
- [递归二分查找](algorithms/searching/binary-search-recursive.md)
|
||
|
- [查找第K小的元素](algorithms/searching/kth-smallest.md)
|
||
|
- [线性搜索](algorithms/searching/linear-search.md)
|
||
|
|
||
|
- [图论](algorithms/graph/index.md)
|
||
|
- [最短路径-Bellman Ford](algorithms/graph/bellman-ford.md)
|
||
|
- [最短路径-Dijkstra](algorithms/graph/dijkstra.md)
|
||
|
- [深度优先搜索](algorithms/graph/depth-first-search.md)
|
||
|
- [广度优先搜索](algorithms/graph/breadth-first-search.md)
|
||
|
- [深度优先Tic Tac Toe](algorithms/graph/depth-first-tic-tac-toe.md)
|
||
|
- [最小生成树](algorithms/graph/minimum-spanning-tree.md)
|
||
|
- [Prim算法(最小生成树)](algorithms/graph/prim.md)
|
||
|
|
||
|
- [动态规划](algorithms/dynamic-programming/index.md)
|
||
|
- [斐波那契(fibonacci)](algorithms/dynamic-programming/fibonacci.md)
|
||
|
- [找钱(Coin change)](algorithms/dynamic-programming/coin-change.md)
|
||
|
- [最小编辑距离(Edit distance)](algorithms/dynamic-programming/edit-distance.md)
|
||
|
- [扔鸡蛋(Egg dropping)](algorithms/dynamic-programming/egg-dropping.md)
|
||
|
- [判断子序列](algorithms/dynamic-programming/is-subsequence.md)
|
||
|
- [背包问题](algorithms/dynamic-programming/knapsack.md)
|
||
|
- [最长公共子序列](algorithms/dynamic-programming/longese-common-sequence.md)
|
||
|
- [最长连续递增序列](algorithms/dynamic-programming/longest_continuous_increasing_subsequence.md)
|
||
|
- [最长上升子序列](algorithms/dynamic-programming/longest-increasing-subsequence.md)
|
||
|
- [最大正方形](algorithms/dynamic-programming/maximal-square.md)
|
||
|
- [最大子数组](algorithms/dynamic-programming/maximal-subarray.md)
|
||
|
- [棒的切割](algorithms/dynamic-programming/rod-cutting.md)
|
||
|
|
||
|
- [数学]()
|
||
|
- [扩展欧几里得算法](algorithms/math/extended-euclidean.md)
|
||
|
- [最大公约数](algorithms/math/greatest-common-divisor.md)
|
||
|
- [帕斯卡三角](algorithms/math/pascal-triange.md)
|
||
|
- [寻找完美数](algorithms/math/perfect-numbers.md)
|
||
|
- [质数检测](algorithms/math/prime-check.md)
|
||
|
- [质数筛法](algorithms/math/prime-numbers.md)
|
||
|
- [试除法](algorithms/math/trial-division.md)
|
||
|
|
||
|
- [几何]()
|
||
|
- [最近点算法](algorithms/geometry/closet-points.md)
|
||
|
|
||
|
- [常用算法]()
|
||
|
- [凸包算法](algorithms/general/convex-hull.md)
|
||
|
- [汉诺塔算法](algorithms/general/hanoi.md)
|
||
|
- [K-Means算法](algorithms/general/kmeans.md)
|
||
|
- [N皇后算法](algorithms/general/nqueens.md)
|
||
|
- [两数之和](algorithms/general/two-sum.md)
|
||
|
|
||
|
- [加密算法](algorithms/cipher/index.md)
|
||
|
- [凯撒算法(caesar)](algorithms/cipher/caesar.md)
|
||
|
- [摩斯码](algorithms/cipher/morse-code.md)
|
||
|
- [Polibius密码](algorithms/cipher/polibius.md)
|
||
|
- [rot13加密算法](algorithms/cipher/rot13.md)
|
||
|
- [rot13第二种实现](algorithms/cipher/another-rot13.md)
|
||
|
- [sha256加密](algorithms/cipher/sha256.md)
|
||
|
- [vigenere加密](algorithms/cipher/vigenere.md)
|
||
|
- [xor](algorithms/cipher/xor.md)
|
||
|
|
||
|
- [数据结构](data-structures/index.md)
|
||
|
- [B树](data-structures/b-tree.md)
|
||
|
- [二叉树](data-structures/binary-search-tree.md)
|
||
|
- [avl树](data-structures/avl-tree.md)
|
||
|
- [链表](data-structures/linked-list.md)
|
||
|
- [堆(Heap)](data-structures/heap.md)
|
||
|
- [栈](data-structures/stack.md)
|
||
|
- [队列](data-structures/queue.md)
|
||
|
- [trie(字典树)](data-structures/trie.md)
|
||
|
- [图(graph)](data-structures/graph.md)
|
||
|
|
||
|
- [对抗编译检查](fight-compiler/index.md)
|
||
|
- [迭代器Iterator](fight-compiler/iterator.md)
|
||
|
|
||
|
- [深入特征](deep-trait/index.md)
|
||
|
- [Deref](deep-trait/deref.md)
|
||
|
|
||
|
- [Rust陷阱系列](pitfalls/index.md)
|
||
|
- [for循环中使用外部数组](pitfalls/use-vec-in-for.md)
|
||
|
- [线程类型导致的栈溢出](pitfalls/stack-overflow.md)
|
||
|
- [算术溢出导致的panic](pitfalls/arithmetic-overflow.md)
|
||
|
- [闭包中奇怪的生命周期](pitfalls/closure-with-lifetime.md)
|
||
|
- [可变变量不可变?](pitfalls/the-disabled-mutability.md)
|
||
|
- [可变借用失败引发的深入思考](pitfalls/multiple-mutable-references.md)
|
||
|
|
||
|
- [迭代器Iterator](iterator/index.md)
|
||
|
- [同时从首尾遍历](iterator/from-start-and-end.md)
|
||
|
|
||
|
- [Unsafe Rust](unsafe/index.md)
|
||
|
- [通过元素获取数组索引](unsafe/get-arryr-index-by-elem.md)
|
||
|
- [实现多维数组](unsafe/multi-dimension-array.md)
|
||
|
- [实现自引用](unsafe/self-ref.md)
|
||
|
|
||
|
- [运算符重载](operator-override/index.md)
|
||
|
- [数组索引](operator-override/index.md)
|
||
|
|
||
|
- [模式匹配](pattern-match/index.md)
|
||
|
- [使用match和if let返回值](pattern-match/return-with-match.md)
|
||
|
|
||
|
- [奇怪代码背后的原理](principles-behind-weird-code/index.md)
|
||
|
- [右值取地址](principles-behind-weird-code/ref-to-rvalue.md)
|
||
|
- [autoref/autoderef](principles-behind-weird-code/autoref.md)
|
||
|
|
||
|
- [有趣但是用处不大的代码](fun-but-useless/index.md)
|
||
|
- [?嵌套](fun-but-useless/question-mark-nested.md)
|
||
|
|
||
|
- [堆和栈](stack-heap/index.md)
|
||
|
- [避免递归函数栈溢出](stack-heap/recursive-stack-overlfow.md)
|
||
|
|
||
|
- [将复杂的实现简化](make-things-easier/index.md)
|
||
|
- [代码1](make-things-easier/1.md)
|
||
|
|
||
|
- [复杂难懂的代码](obscure/index.md)
|
||
|
- [代码1](obscure/1.md)
|
||
|
|
||
|
## 场景模版
|
||
|
- [场景模版 todo](templates/intro.md)
|
||
|
- [文件操作](templates/files/intro.md)
|
||
|
- [目录(todo)](templates/files/dir.md)
|
||
|
- [Http请求(todo)](templates/http/intro.md)
|