Skip to content

c1m50c/rust-algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š rust-algorithms

Build

Library containing various algorithms implemented with a Rust counter-part.

Running

You can test the algorithms to ensure they work by using cargo test, an example of it's usage is shown below.

$ cd rust-algorithms # Change directory to repository.
$ cargo test # Run the `cargo test` command to run the library's tests.
...
test result: ok. # If things go well all tests should pass.

Implemented Algorithms

๐Ÿฅ” Hashing Algorithms
  • โŒ SHA256
๐Ÿ”Ž Searching Algorithms
  • โœ” Linear Search
  • โœ” Binary Search
๐Ÿงฎ Sorting Algorithms
  • โœ” Selection Sort
  • โœ” Insertion Sort
  • โœ” Bubble Sort
  • โœ” Gnome Sort
  • โœ” Quick Sort
  • โœ” Merge Sort
  • โœ” Shell Sort
  • โœ” Heap Sort
  • โœ” Comb Sort

License

MIT License