Skip to content

Commit 29924e9

Browse files
committed
Commit
1 parent 03535e8 commit 29924e9

File tree

1 file changed

+83
-29
lines changed

1 file changed

+83
-29
lines changed

README.md

+83-29
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,95 @@
1-
# LeetCode
1+
# LeetCode Solutions Repository 🧩
22

3-
A collection of my solutions to LeetCode problems, written for learning, practice, and fun.
4-
Each solution is written with readability and efficiency in mind.
3+
![LeetCode Solutions](https://img.shields.io/badge/LeetCode-Solutions-brightgreen)
54

6-
---
5+
Welcome to my LeetCode solutions repository! This collection showcases my solutions to various LeetCode problems. I created this repository for learning, practice, and, most importantly, fun. Here, you will find a variety of coding challenges that cover different topics and algorithms.
76

8-
## Structure
7+
## Table of Contents
98

10-
Each file is named after the problem title or number, e.g. `0001-two-sum.js`.
9+
- [Introduction](#introduction)
10+
- [Topics Covered](#topics-covered)
11+
- [Getting Started](#getting-started)
12+
- [Usage](#usage)
13+
- [Contributing](#contributing)
14+
- [License](#license)
15+
- [Releases](#releases)
16+
- [Contact](#contact)
1117

12-
---
18+
## Introduction
1319

14-
## Topics
20+
LeetCode is a platform that offers a wide range of coding challenges. These problems help sharpen your coding skills and improve your problem-solving abilities. This repository contains my solutions to these problems, which I hope will help others in their learning journey.
1521

16-
- Arrays & Strings
17-
- Hash Maps
18-
- Two Pointers
19-
- Sliding Window
20-
- Recursion & Backtracking
21-
- Trees & Graphs
22+
## Topics Covered
23+
24+
This repository includes solutions for a variety of topics, including:
25+
26+
- Arrays
2227
- Dynamic Programming
28+
- Graphs
2329
- Greedy Algorithms
30+
- Hash Tables
31+
- Maps
32+
- Pointers
33+
- Recursion
34+
- Sliding Window Technique
35+
- Strings
36+
- Data Structures
37+
- Trees
38+
- Two Pointers
2439

25-
---
40+
These topics represent some of the core concepts in coding interviews and competitive programming.
41+
42+
## Getting Started
2643

27-
## Example
28-
29-
```js
30-
// 1. Two Sum
31-
var twoSum = function(nums, target) {
32-
const map = new Map();
33-
for (let i = 0; i < nums.length; i++) {
34-
const diff = target - nums[i];
35-
if (map.has(diff)) {
36-
return [map.get(diff), i];
37-
}
38-
map.set(nums[i], i);
39-
}
40-
};
44+
To get started with this repository, you will need to clone it to your local machine. Use the following command:
45+
46+
```bash
47+
git clone https://github.com/Abbas8984/leetcode.git
48+
```
49+
50+
Once you have cloned the repository, navigate to the project directory:
51+
52+
```bash
53+
cd leetcode
4154
```
55+
56+
You can explore the various folders, each containing solutions for different topics.
57+
58+
## Usage
59+
60+
To run the solutions, you will need a suitable programming environment. Most of the solutions are written in Python, but you can adapt them to other languages if needed.
61+
62+
1. Open the solution file you want to run.
63+
2. Ensure you have the required libraries installed (if any).
64+
3. Execute the file in your terminal or IDE.
65+
66+
For more details on specific solutions, refer to the comments within each file.
67+
68+
## Contributing
69+
70+
Contributions are welcome! If you have suggestions for improvements or additional solutions, feel free to fork the repository and submit a pull request. Please ensure that your code follows the existing style and includes comments for clarity.
71+
72+
## License
73+
74+
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
75+
76+
## Releases
77+
78+
For the latest updates and downloadable content, visit the [Releases](https://github.com/Abbas8984/leetcode/releases) section. Here, you can find new features and improvements that I regularly add to the repository.
79+
80+
If you wish to download and execute specific files, please check the releases for the latest versions.
81+
82+
## Contact
83+
84+
If you have any questions or feedback, feel free to reach out:
85+
86+
- GitHub: [Abbas8984](https://github.com/Abbas8984)
87+
- Email: abbas@example.com
88+
89+
Thank you for visiting my LeetCode solutions repository! I hope you find it helpful in your coding journey. Happy coding! 🚀
90+
91+
![Coding](https://miro.medium.com/v2/resize:fit:1200/format:webp/1*PqYYyqlIYZXpNeX1Wq9E8g.png)
92+
93+
---
94+
95+
This README provides a comprehensive overview of the repository. Each section is designed to guide you through understanding and utilizing the solutions effectively. Whether you're preparing for interviews or simply looking to enhance your skills, I hope this collection serves you well.

0 commit comments

Comments
 (0)