Skip to content

A book about Rust Data Structures and Algorithms.

License

Notifications You must be signed in to change notification settings

minstrel1977/RustBook

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description []

A book about Rust programming language written in Simplified and Tranditional Chinese (English and Japanese versions are planned). This book contains 9 chapters in which are some data structures and algorithms with practical demos.

  • Chapter 1: Computer Science
    • Computer science
    • Rust review and learning resources
  • Chapter 2: Algorithm Analysis
    • Big-O notation
  • Chapter 3: Basic Data Structures
    • Stack, Queue, Deque, List, Vec
  • Chapter 4: Recursion
    • Recursion theory, Tail-recursion ,Dynamic programming
  • Chapter 5: Search
    • Sequencial search, Binary search, Hashing search
  • Chapter 6: Sort
    • Ten basic sort algorithms
  • Chapter 7: Tree
    • Binary tree, Binary heap, Binary search tree, AVL tree
  • Chapter 8: Graph
    • Graph representation, BFS, DFS, Shortest path
  • Chapter 9: Practice
    • Edit Distance, Trie, Filter, LRU
    • Consistent hashing, Base58, Blockchain

Code

All demo codes are saved by chapter under code/.

code_statistics

Stargazer

star

Changelog

  • 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 overflow panic
  • 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
  • 2021-04-24 upload first draft

About

A book about Rust Data Structures and Algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.9%
  • Shell 0.1%