We can't find the internet
Attempting to reconnect
Something went wrong!
Attempting to reconnect
Option practice problems in Rust
Difficulty:
Category & tags Filters active
Category:
Tag:
Showing 16 of 16
| Title | Difficulty | Category | Tags |
|---|---|---|---|
| Borrowing through Option | Medium | Primitives |
|
| checked, wrapping, saturating, overflowing | Medium | Primitives |
|
| Converting between Option and Result | Medium | Primitives |
|
| Eager vs lazy defaults | Easy | Primitives |
|
| Find the largest window sum with slices | Medium | Primitives |
|
| fold and try_fold: a total that refuses to overflow | Medium | Primitives |
|
| From, Into, TryFrom: conversions that cannot lie | Medium | Primitives |
|
| map, filter, filter_map: parse host:port lines | Easy | Primitives |
|
| Matching on Option | Easy | Primitives |
|
| Mutating an Option in place | Medium | Primitives |
|
? on Option, and bridging to Result
|
Medium | Primitives |
|
| Reborrowing: why &mut sometimes moves and sometimes doesn't | Hard | Primitives |
|
| ref, ref mut, and default binding modes in edition 2024 | Medium | Primitives |
|
| Shrink an enum and inspect its layout | Medium | Primitives |
|
| Take a payload while keeping its destructor valid | Hard | Primitives |
|
| The Option combinator vocabulary | Easy | Primitives |
|