Skip to content

Crobatair/rust-algorithms-packt

Repository files navigation

rust-algorithms-packt

This repository contains my experience coding on Rust while i'm watching Hands-On Data Structures and Algorithms in Rust by Matthew Stoodley, May 2020.

Feel free to contribute or clone this project. Any suggestion or comment is welcome.


p1_introduction

On this section, we covered the following themes. A short brief of all of them.

All projects related to an introduction to Rust.

Covered topic includes:

  • How to upload a crate
  • Loops
  • Optional library and its usage
  • Structs
  • Pointers
  • Variables

Section 1 - Here.


p2_algorithms

On this section are Covered the themes related to sort algorithms, how to use a the bubble sort algorithm to sort a Vector, creation of libs, use Rust test suite to test the bubble sort function.

Each lib on this folder contains a basic test over the theme covered.

Section 2 - Here


p3 - Linked lists and binary

Projects related to Lists, Binary Trees, and Huffman Coder Algorithm implementation on Rust.

Section 3 - Here.


Part 4 - Graps.

We used to create a Graph of nodes, and implement a geedy solution to sales travelsman problem on Part 4.

Section 4 - Here.


p5 - HashMaps

We covers how to create a custom HashMap, for buckets, hot to create a self, safely increment HashMap with performance increase by alocating memory by conditions.

Section 5 - Here.

About

My experience with Rust on Rust Algorithm Course at Packt Publish

Topics

Resources

License

Stars

Watchers

Forks

Languages