Rust coding interview practice
48 test-checked Rust exercises for the live-coding interview: ownership, lifetimes, traits and iterators, compiled by the real rustc. Nothing to install. Free.
Topics
- Strings: 6 exercises
- Vectors & Slices: 10 exercises
- Structs & Enums: 7 exercises
- Ownership & Borrowing: 4 exercises
- Closures & Iterators: 4 exercises
- Option & Result: 4 exercises
- Practical: 9 exercises
- Traits & Generics: 4 exercises
Each exercise pairs a worked example with a twin problem to solve in a real editor; the tests run the moment you do. Progress is saved in your browser, and in your account if you sign in.