Welcome to my LeetCode-JS-Solutions repository! π
This repository contains my solutions to various LeetCode challenges, solved mostly using JavaScript. My goal is to continuously improve my problem-solving skills and share these solutions to help others in their coding journey.
The repository is organized by difficulty levels and topic categories:
βββ Easy
β βββ two_sum.js
β βββ palindrome_number.js
βββ Medium
β βββ add_two_numbers.js
β βββ longest_substring.js
βββ Hard
β βββ sliding_window_maximum.js
β βββ median_of_two_sorted_arrays.js
βββ README.md
- Easy: Basic problems to warm up.
- Medium: Intermediate challenges that require more thought.
- Hard: Advanced problems that push problem-solving to the limit.
For each solution, I aim to:
- Understand the problem statement.
- Identify the optimal algorithm and data structures.
- Write clean, readable, and efficient code.
- Add comments to explain key logic or tricky parts of the code.
-
Clone this repository:
git clone https://github.com/yourusername/LeetCode-JS-Solutions.git
-
Navigate to the folder of interest (e.g., Easy, Medium, Hard).
-
Open the JavaScript file in your editor and review the solution.
-
Run the file in your local environment to test the solution.
Check out my LeetCode profile to see my progress and completed challenges.
- Total Problems Solved: 50+
- Languages: JavaScript (Primary)
- Focus Areas: Arrays, Strings, Dynamic Programming, Recursion, Graphs, and more.
If youβd like to suggest an improvement or add a new solution, feel free to fork the repository and open a pull request. Letβs learn and improve together! π




