Rust Platform
Exercises
Profile
Login
Exercises
Pybites's Exercises
Level
Name
Tags
Greet a Rustacean
strings
option
basic-rust
Basic Arithmetic in Rust
arithmetic
basic-rust
Constants and Shadowing
shadowing
constants
basic-rust
Control Flow: If Statements & Conditions
conditions
if statements
basic-rust
Loops in Rust: The Power of `for`
loops
for
iteration
control flow
Number Guessing Game
loops
control flow
while
continue
break
Basic Match Expressions: Categorizing HTTP Status Codes
match
pattern matching
control flow
Understanding Ownership: Who Owns the Data?
ownership
borrowing
memory management
Borrowing and References: Lending Without Losing
ownership
borrowing
references
Mutable Borrowing: The One Exclusive Borrower
borrowing
ownership
mutability
references
Simple Calculations
functions
math
basic-rust
Reverse a String
iterators
strings
functions
Fibonacci Sequence
recursion
functions
math
Using Structs in Rust
methods
strings
structs