Skip to content

Latest commit

 

History

History
42 lines (35 loc) · 2.65 KB

README.md

File metadata and controls

42 lines (35 loc) · 2.65 KB

LeetCode Solutions 🚀

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.

Problems Solved

# 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

About

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

Running the Code

  1. Clone the repository:

    git clone https://github.com/arkeasz/leetcode.git
    cd leetcode-solutions
  2. 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 or prom_two).

Feedback

Feel free to open issues or suggest improvements. Contributions are also welcome!