A community-driven collection of LeetCode solutions in Rust. Each problem includes a clean, idiomatic solution with inline tests and a beginner-friendly tutorial covering the approach, dry run, code walkthrough, and complexity analysis.
| # | Problem | Difficulty | Tutorial | Solution |
|---|---|---|---|---|
| 0001 | Two Sum | Easy | Tutorial | Rust |
| 0002 | Add Two Numbers | Medium | Tutorial | Rust |
| 0003 | Longest Substring Without Repeating Characters | Medium | Tutorial | Rust |
| 0004 | Median of Two Sorted Arrays | Hard | Tutorial | Rust |
| 0005 | Longest Palindromic Substring | Medium | Tutorial | Rust |
| 0006 | Zigzag Conversion | Medium | Tutorial | Rust |
| 0007 | Reverse Integer | Medium | Tutorial | Rust |
| 0008 | String to Integer (atoi) | Medium | Tutorial | Rust |
| 0009 | Palindrome Number | Easy | Tutorial | Rust |
| 0010 | Regular Expression Matching | Hard | Tutorial | Rust |
| 0011 | Container With Most Water | Medium | Tutorial | Rust |
| 0012 | Integer to Roman | Medium | Tutorial | Rust |
| 0013 | Roman to Integer | Easy | Tutorial | Rust |
| 0016 | 3Sum Closest | Medium | Tutorial | Rust |
Want to add a solution or improve an existing one? Check out the Contributing Guide.