Exercism-Rust-Track

Exercism practice in Rust trace
About Exercism
Exercism is a an online platform designed to help you improve your coding skills through practice and mentorship.
- Numerous language tracks 🎯
- Awesome mentorship 🗝
- Handy CLI tooling 🧰
- Fun & friendly 🥰
- Entirely open source 💕
- Surprisingly, 100% free 😮
Rust Track
Rust Track includes 90 exercises. 🦀
Main Exercises with mentorship
| Title |
Tags |
Descrption |
Code |
| Reverse String |
iterator str string |
Reverse a string |
Rust |
| Gigasecond |
crates |
Given a moment, determine the moment that would be after a gigasecond has passed. |
Rust |
| Bob |
chars string functions |
Bob is a lackadaisical teenager. In conversation, his responses are very limited. |
Rust |
| Clock |
derive struct traits |
Implement a clock that handles times without dates. |
Rust |
| Atbash Cipher |
ascii chars iterators primitive types |
Create an implementation of the atbash cipher, an ancient encryption system created in the Middle East. |
Rust |
| Sublist |
generic over type enums |
Write a function to determine if a list is a sublist of another list |
Rust |
| Minesweeper |
board state |
Add the numbers to minesweeper board |
Rust |
| Luhn |
higher order functions iterators |
Given a number determine whether or not it is valid per the Luhn formula. |
Rust |
| Parallel Letter Frequency |
multi threading |
Count the frequency of letters in texts using parallel computation. |
Rust |
| Title |
Tags |
Descrption |
Code |
| Leap |
booleans conditionals |
Given a year, report if it is a leap year. |
Rust |
| Raindrops |
case or format mutable string |
Convert a number to a string, the contents of which depend on the number’s factors. |
Rust |
| Beer Song |
case loop string concatenation vector optional |
Recite the lyrics to that beloved classic, that field-trip favorite: 99 Bottles of Beer on the Wall. |
Rust |
| Nth Prime |
loops primes math |
Given a number n, determine what the nth prime is. |
Rust |
| Proverb |
format iterator |
For want of a horseshoe nail, a kingdom was lost, or so the saying goes. |
Rust |
| Difference of Squares |
sum fold map math |
Find the difference between the square of the sum and the sum of the squares of the first N natural numbers. |
Rust |
| Sum Of Multiples |
algorithm borrowing math |
Given a number, find the sum of all the unique multiples of particular numbers up to but not including that number. |
Rust |
| Grains |
panic |
Calculate the number of grains of wheat on a chessboard given that the number on each square doubles. |
Rust |
| Armstrong Numbers |
math |
An Armstrong number is a number that is the sum of its own digits each raised to the power of the number of digits. |
Rust |
| Matching Brackets |
stack |
Given a string containing brackets [], braces {}, parentheses (), or any combination thereof, verify that any and all pairs are matched and nested correctly. |
Rust |
| Saddle Points |
vectors iterator |
Detect saddle points in a matrix. |
Rust |
| Isogram |
chars iterator strings set |
Determine if a word or phrase is an isogram. |
Rust |
| High Scores |
iterators lifetimes vectors |
Manage a game player’s High Score list. |
Rust |
| Say |
modulus strings |
Given a number from 0 to 999,999,999,999, spell out that number in English. |
Rust |
| Run Length Encoding |
strings |
Implement run-length encoding and decoding. |
Rust |
Copyright
All materials from Exercism Rust Trace are Copyright Exercism.
评论