/learning-rust

Palmtree 'learning Rust' assignments

Primary LanguageRust

learning-rust

Palmtree 'learning Rust' assignments Juan Carlos

Structure

To participate, clone/fork this repository and branch it. Create a folder named with your name under the specific week and create a pull request for your branch when you have completed the assignments.

Curriculum

Week 1-2

Assignment 1: Hello, World!

  1. Install the Rust SDK: https://www.rust-lang.org/en-US/
  2. Write, compile and run a 'Hello, World!' program

Assignment 2: Fibonacci Sequence generator

  1. Write a program fib(n) that takes an input integer n and returns the n'th fibonacci number. E.g., the 7th fibonacci number is 13 (1, 1, 2, 3, 5, 8, 13), so fib(7) should return 13. For bonus points experiment with different implementations of the algorithm (recursive, iterative, etc.) Fibonacci numbers: https://en.wikipedia.org/wiki/Fibonacci_number

Assignment 3: Guessing Game

  1. Write a program for the Guessing Game https://doc.rust-lang.org/book/guessing-game.html

Week 3-4

Assignment 1: Reverse string algorithm

Assignment 2: Quicksort algorithm

Assignment 3: Simple calculator app

Week 5-6

Assignment: Producer-Consumer concurrency

Week 7-8

Assignment: TCP Server and Client

Week 9-10

Assignment: Wikipedia scraper

Week 11-12

Assignment: Tic Tac Toe game