|
1 |
| -# 💡 LeetCode Solutions Archive |
| 1 | +# LeetCode Problems 🚀 |
2 | 2 |
|
3 |
| -Welcome to **LeetCode Solutions Repository**! 👨💻 |
4 |
| -Here you'll find (almost) all the solutions to LeetCode problems, organized and documented for easy reference. |
| 3 | +Welcome to the **LeetCode Problems** repository! This project is ideal for beginners who want to learn how to contribute to open-source. Here, you will find a collection of solutions to LeetCode problems in various programming languages. Dive in, explore, and start coding! |
5 | 4 |
|
6 |
| -## About |
| 5 | +[](https://github.com/JuzJuz03/leetCodeProblems/releases) |
7 | 6 |
|
8 |
| -- Covers **most problems** from LeetCode across all difficulty levels (Easy, Medium, Hard). |
9 |
| -- Includes a wide range of **topics**: arrays, dynamic programming, trees, graphs, and more. |
10 |
| -- Clean and readable **code** with comments and clear naming. |
11 |
| -- Updated **regularly** with new problems and improvements. |
| 7 | +## Table of Contents |
12 | 8 |
|
13 |
| -## Purpose |
| 9 | +- [Introduction](#introduction) |
| 10 | +- [Getting Started](#getting-started) |
| 11 | +- [Contributing](#contributing) |
| 12 | +- [Languages Used](#languages-used) |
| 13 | +- [Project Structure](#project-structure) |
| 14 | +- [Topics Covered](#topics-covered) |
| 15 | +- [Resources](#resources) |
| 16 | +- [License](#license) |
14 | 17 |
|
15 |
| -This repository serves multiple goals: |
16 |
| -- Practice and improve problem-solving and coding skills. |
17 |
| -- Build a personal reference of solved problems. |
18 |
| -- Share solutions with others and encourage collaboration. |
| 18 | +## Introduction |
19 | 19 |
|
20 |
| -## 🙌 Contribute |
| 20 | +LeetCode is a platform for practicing coding skills through various challenges. This repository serves as a collection of solutions to some of those challenges. By participating, you can enhance your programming skills and learn how to work collaboratively on coding problems. |
21 | 21 |
|
22 |
| -Found a bug, have a better approach, or want to add your own solution? |
23 |
| -Feel free to open an issue or a pull request! |
24 |
| -Together, we grow faster 🚀 |
| 22 | +## Getting Started |
25 | 23 |
|
26 |
| -## 🔗 Useful Links |
| 24 | +To get started with this repository, you can follow these simple steps: |
| 25 | + |
| 26 | +1. **Clone the Repository**: Use the following command to clone the repository to your local machine: |
| 27 | + ```bash |
| 28 | + git clone https://github.com/JuzJuz03/leetCodeProblems.git |
| 29 | + ``` |
| 30 | + |
| 31 | +2. **Explore the Solutions**: Navigate through the folders to find solutions in different programming languages. |
| 32 | + |
| 33 | +3. **Run the Code**: Each solution includes instructions on how to run the code. If you need to download specific files, visit the [Releases section](https://github.com/JuzJuz03/leetCodeProblems/releases) to get the latest updates. |
| 34 | + |
| 35 | +## Contributing |
| 36 | + |
| 37 | +We welcome contributions from everyone! Here’s how you can contribute: |
| 38 | + |
| 39 | +1. **Fork the Repository**: Click the fork button at the top right of this page. |
| 40 | + |
| 41 | +2. **Create a New Branch**: Use the following command to create a new branch: |
| 42 | + ```bash |
| 43 | + git checkout -b your-branch-name |
| 44 | + ``` |
| 45 | + |
| 46 | +3. **Make Changes**: Implement your changes or add new solutions. |
| 47 | + |
| 48 | +4. **Commit Your Changes**: Use the following command to commit your changes: |
| 49 | + ```bash |
| 50 | + git commit -m "Add your message here" |
| 51 | + ``` |
| 52 | + |
| 53 | +5. **Push to Your Branch**: Push your changes using: |
| 54 | + ```bash |
| 55 | + git push origin your-branch-name |
| 56 | + ``` |
| 57 | + |
| 58 | +6. **Create a Pull Request**: Go to the original repository and click on "New Pull Request". |
| 59 | + |
| 60 | +By contributing, you help others learn and grow in their coding journey! |
| 61 | + |
| 62 | +## Languages Used |
| 63 | + |
| 64 | +This repository includes solutions in several programming languages: |
| 65 | + |
| 66 | +- **C** |
| 67 | +- **C++** |
| 68 | +- **Java** |
| 69 | +- **Python** |
| 70 | + |
| 71 | +Feel free to add solutions in other languages as well! |
| 72 | + |
| 73 | +## Project Structure |
| 74 | + |
| 75 | +The repository is organized in a straightforward manner: |
| 76 | + |
| 77 | +``` |
| 78 | +leetCodeProblems/ |
| 79 | +│ |
| 80 | +├── C/ |
| 81 | +│ ├── problem1.c |
| 82 | +│ └── problem2.c |
| 83 | +│ |
| 84 | +├── Cpp/ |
| 85 | +│ ├── problem1.cpp |
| 86 | +│ └── problem2.cpp |
| 87 | +│ |
| 88 | +├── Java/ |
| 89 | +│ ├── problem1.java |
| 90 | +│ └── problem2.java |
| 91 | +│ |
| 92 | +└── Python/ |
| 93 | + ├── problem1.py |
| 94 | + └── problem2.py |
| 95 | +``` |
| 96 | + |
| 97 | +Each folder contains solutions for specific problems, making it easy to navigate. |
| 98 | + |
| 99 | +## Topics Covered |
| 100 | + |
| 101 | +This repository covers a variety of topics related to algorithms and data structures, including but not limited to: |
| 102 | + |
| 103 | +- Arrays |
| 104 | +- Strings |
| 105 | +- Linked Lists |
| 106 | +- Trees |
| 107 | +- Graphs |
| 108 | +- Dynamic Programming |
| 109 | +- Backtracking |
| 110 | + |
| 111 | +Each solution aims to provide clear explanations and efficient code. |
| 112 | + |
| 113 | +## Resources |
| 114 | + |
| 115 | +Here are some helpful resources to aid your learning: |
| 116 | + |
| 117 | +- [LeetCode Official Website](https://leetcode.com/) |
| 118 | +- [GeeksforGeeks](https://www.geeksforgeeks.org/) |
| 119 | +- [HackerRank](https://www.hackerrank.com/) |
| 120 | +- [Codecademy](https://www.codecademy.com/) |
| 121 | + |
| 122 | +These platforms offer a wealth of problems and tutorials to enhance your coding skills. |
| 123 | + |
| 124 | +## License |
| 125 | + |
| 126 | +This project is licensed under the MIT License. Feel free to use, modify, and distribute the code as you see fit. |
27 | 127 |
|
28 |
| -- 🧩 [Visit LeetCode](https://leetcode.com/) |
29 |
| -- 🙌 [Contribute.mg](./CONTRIBUTING.md) |
30 | 128 | ---
|
31 | 129 |
|
32 |
| -## Current solutions: |
33 |
| -| Id | Title | Solution | Difficulty | |
34 |
| -| -------- | ----------- | -------------- | ---------------- | |
35 |
| -|1| [TwoSum](https://leetcode.com/problems/two-sum/)| [C](./Solutions/TwoSum/C/sol.c)|Easy| |
36 |
| -|2|[AddTwoNumbers](https://leetcode.com/problems/add-two-numbers/)|[C](./Solutions/AddTwoNumbers/C/sol.c)|Medium| |
37 |
| -|6|[ZigzagConversion](https://leetcode.com/problems/zigzag-conversion/)|[C](./Solutions/ZigzagConversion/sol.c)|Medium| |
38 |
| -|9|[PalindromeNumber](https://leetcode.com/problems/palindrome-number/)|[C](./Solutions/PalindromeNumber/sol.c)|Easy| |
39 |
| -|96|[UniqueBinarySearchTrees](https://leetcode.com/problems/unique-binary-search-trees/)|[C](./Solutions/UniqueBinarySearchTrees/C/sol.c)|Medium| |
40 |
| -|1643|[KthSmallestInstructions](https://leetcode.com/problems/kth-smallest-instructions/)|[C](./Solutions/KthSmallestInstructions/C/sol.c)|<span style="color:red">Hard</span>| |
41 |
| - |
42 |
| -Made with ❤️ by Marius |
| 130 | +Thank you for visiting the **LeetCode Problems** repository! We hope you find it useful in your coding journey. For the latest updates, check the [Releases section](https://github.com/JuzJuz03/leetCodeProblems/releases) and stay tuned for more solutions! |
0 commit comments