Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
- Learn some finer details about how strings are represented in Rust.
- Learn how Rust ensures safety guarantees that help you write effective code.
- Learn how to change the compiler’s strictness level.
- Learn some of floating-point representation’s stumbling blocks.
- Learn how mutability and borrowing work in Rust.
Learning Roadmap
2.
Puzzles
Puzzles
Discover the logic behind solving Rust puzzles while understanding precision, type conversion, memory, and async operations.
Puzzle 1: Three and a BitPuzzle 1: ExplanationPuzzle 2: Non-standard InputPuzzle 2: ExplanationPuzzle 3: Type ConversionPuzzle 3: ExplanationPuzzle 4: Byte-sized ChunksPuzzle 4: ExplanationPuzzle 5: How Long Is a String?Puzzle 5: ExplanationPuzzle 6: Please Reboot the UniversePuzzle 6: ExplanationPuzzle 7: Three and Back AgainPuzzle 7: ExplanationPuzzle 8: Walks Like a Duck, Quacks Like a DuckPuzzle 8: ExplanationPuzzle 9: Out of OrderPuzzle 9: ExplanationPuzzle 10: X Marks the SpotPuzzle 10: ExplanationPuzzle 11: Stacking BoxesPuzzle 11: ExplanationPuzzle 12: AmnesiaPuzzle 12: ExplanationPuzzle 13: Reverse the Polarity of the Neutron FlowPuzzle 13: ExplanationPuzzle 14: Structure SizingPuzzle 14: ExplanationPuzzle 15: To InfinityPuzzle 15: ExplanationPuzzle 16: Double or NothingPuzzle 16: ExplanationPuzzle 17: How Long is a Vector?Puzzle 17: ExplanationPuzzle 18: Mutable ImmutablesPuzzle 18: ExplanationPuzzle 19: Sleepless in TokioPuzzle 19: ExplanationPuzzle 20: Hello, BonjourPuzzle 20: ExplanationPuzzle 21: Tying a Gordian KnotPuzzle 21: ExplanationPuzzle 22: Waiting for GodotPuzzle 22: ExplanationPuzzle 23: Constant LoopsPuzzle 23: ExplanationPuzzle 24: Home on the RangePuzzle 24: Explanation
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Complete more lessons to unlock your certificate
Developed by MAANG Engineers
ABOUT THIS COURSE
This course provides insights into Rust’s unique features by exploring them in 24 brain-teasing puzzles. Each puzzle is explained in its following lesson. Complete all 24, and by the time you’re done, your knowledge about different concepts in Rust will definitely be improved, and you will be ready to move on to more advanced concepts.
ABOUT THE AUTHOR
The Pragmatic Programmers
We create timely, practical books and learning resources on classic and cutting-edge topics to help you practice your craft and accelerate your career.
Trusted by 2.9 million developers working at companies
A
Anthony Walker
@_webarchitect_
E
Evan Dunbar
ML Engineer
S
Software Developer
Carlos Matias La Borde
S
Souvik Kundu
Front-end Developer
V
Vinay Krishnaiah
Software Developer
Built for 10x Developers
No Passive Learning
Learn by building with project-based lessons and in-browser code editor


Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go


Future-proof Your Career
Get hands-on with in-demand skills


AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"




MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies


Free Resources