A book about Rust programming language written in Simplified, Tranditional Chinese and English. This book contains 10 chapters in which are some data structures and algorithms with demos.
- Chapter 1: Rust basic
- Review of Rust fundamentals
- Learning resources
- Chapter 2: Computer Science
- Computer science concepts
- Chapter 3: Algorithm Analysis
- Big-O notation
- Chapter 4: Basic Data Structures
- Stack, Queue, Deque, List, Vec
- Chapter 5: Recursion
- Recursion theory, Tail-recursion ,Dynamic programming
- Chapter 6: Search
- Sequencial search, Binary search, Hashing search
- Chapter 7: Sort
- Ten basic sort algorithms
- Chapter 8: Tree
- Binary tree, Binary heap, Binary search tree, AVL tree
- Chapter 9: Graph
- Graph representation, BFS, DFS, Shortest path
- Chapter 10: Practice
- Edit Distance, Trie, Filter, LRU
- Consistent hashing, Base58, Blockchain
All demo code is located in the publication/code/ directory. whereas the code is outdated.
- 2024年07月07日 fix some errors and rewrite README
- 2023年06月18日 add publication edition info
- 2023年04月29日 add english version
- 2022年05月15日 add a new directory
publication - 2022年02月27日 change the book cover
- 2022年02月15日 add stargazer chart
- 2022年02月12日 add code statistics
- 2022年02月09日 fix typo and
substract with overflowpanic - 2022年02月06日 change code font to monospaced font: Source Code Pro
- 2022年02月02日 update to rust version 1.58
- 2022年01月31日 upload code and the implementation [Simplified and Traditional Chinese Version]
- 2021年04月24日 upload first draft
Now, Chinese edition has been published with 40% more contents than the open-sourced one.