This repository contains my solutions to various problems on LeetCode. Each problem is solved in Rust and includes comments to make the code easier to understand.
# | Problem | Solution | Difficulty | Language |
---|---|---|---|---|
1 | Two Sum | Solution | Easy | Python |
2 | Add Two Numbers | Solution | Medium | Rust |
3 | Longest substring without repeating characters | Solution | Medium | Javascript |
4 | Median of Two Sorted Arrays | Solution | Hard | Javascript |
5 | Longest Palindromic Substring | Solution | Medium | Python |
6 | Zigzag Conversion | Solution | Medium | Python |
7 | Reverse Integer | Solution | Medium | Python |
8 | String to Integer (atoi) | Solution | Medium | Python |
9 | Palindrome Number | Solution | Easy | Python |
LeetCode challenges are a great way to improve problem-solving and coding skills. This repository is part of my journey to enhance my skills in:
- Data Structures
- Algorithms
- Rust Programming
-
Clone the repository:
git clone https://github.com/arkeasz/leetcode.git cd leetcode-solutions
-
Two options:
- option 1: Run the code for a specific solution (e.g.,
two_sum.rs
) - option 2:
go build run.go ./run [folder_name]
Replace
[folder_name]
with the folder name containing the solution (e.g.,prom_one
orprom_two
). - option 1: Run the code for a specific solution (e.g.,
Feel free to open issues or suggest improvements. Contributions are also welcome!