Skip to content

rust-girona/rust-course-fei-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Course FEI solutions

This repository contains the exercises and solutions that some members of the Rust Girona community have solved of the Rust Course FEI VŠB-TUO.

Directory organization

Each directory mimic the original lesson structure. The sub-directory exercises contains the original non-solved exercises, the sub-directory solutions (when exists) contains a sub-directory with different solutions solved by some members of the Rust Girona community.

To keep the content easily accessible this is a copy of the original exercises index with links into this repository:

  1. 01/01 - Factorial (basic syntax)
  2. 01/02 - Find maximum in an array (cycles)
  3. 01/03 - 3D vector (structs)
  4. 01/04 - Luhn's algorithm (arithmetics)
  5. 01/05 - Match parentheses (pattern matching)
  6. 01/06 - Write tests for a sanitization function (writing tests)
  7. 02/01 - Perform simple calculation (enums)
  8. 02/02 - Match exercises (pattern matching)
  9. 02/03 - Computer state transition (structs) (structs)
  10. 02/04 - Computer state transition (enums) (enums, pattern matching)
  11. 02/05 - Simple URL validator (newtype pattern, encapsulation, parsing)
  12. 02/06 - Brainfuck interpreter (enums, parsing)
  13. 03/01 - Encryption & decryption (ownership)
  14. 03/02 - Longest string (lifetimes)
  15. 03/03 - Strip prefix (lifetimes, strings)
  16. 03/04 - Interleave strings (strings)
  17. 03/05 - Merge sorted slices (slices)
  18. 03/06 - Bubble sort (slices)
  19. 03/07 - Zero-copy parsing (lifetimes in structs, parsing)
  20. 04/01 - Shape interface (traits)
  21. 04/02 - Case-insensitive comparator (traits, iterators)
  22. 04/03 - Fibonacci iterator (iterators)
  23. 04/04 - Iterator exercises (iterators)
  24. 04/05 - Split items (iterators)
  25. 04/06 - Cumulative sum (traits, iterators)
  26. 04/07 - Adjacent diff (iterators)
  27. 04/08 - 1D Range (structs, iterators)
  28. 04/09 - Poker hand value (traits)
  29. 04/10 - Ring buffer (generics, data structure implementation)
  30. 05/01 - Binary tree (smart pointers)
  31. 05/02 - Parser combinators (closures)
  32. 05/03 - Directed graph (smart pointers, interior mutability)
  33. 06/01 - Newtype wrapper (declarative macros)
  34. 06/02 - Hashmap constructor (declarative macros)
  35. 06/03 - Display trait derive (procedural macros)
  36. 06/04 - Memory map (BTreeMap, algorithmization)
  37. 07/01 - Parallel sum (threads, atomics)
  38. 07/02 - Worker queue (threads, channels)
  39. 07/03 - Factorio (threads, channels)
  40. 08/01 - TCP/IP network chat using blocking I/O (threads)
  41. 09/01 - TCP/IP network chat using non-blocking I/O (epoll, event loop)
  42. 10/01 - TCP/IP network chat using async/await (async/await)

Gratitude

We appreciate Jakub Beránek for creating and releasing under an Open Source license this Rust Course. with exercises.

About

Repository with solutions of the exercises of the Rust course taught at FEI VŠB-TUO (https://github.com/Kobzol/rust-course-fei) by some of the members Rust Girona Community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages