Welcome to the LeetCode Problem Solutions repository! This repository contains my solutions to various problems from the LeetCode platform. LeetCode is a popular online platform that provides a vast collection of coding problems for enhancing programming and problem-solving skills.
This repository is organized by problem difficulty and category, featuring a diverse set of solved problems for learning and reference. Each problem file includes my code solution and sometimes an explanation of the solution approach.
/problems
├── Easy
├── Medium
├── Hard
└── Topic-wise
Each category contains subfolders for different problem difficulties or topics, and individual problem files are named according to their LeetCode problem ID and a short description for easy navigation.
- Programming Language: C++
- Platform: LeetCode
- Tools:
- Code editor or IDE (e.g., Visual Studio Code, CLion)
- Git for version control
-
Clone the repository to your local machine:
git clone https://github.com/riyad899/leet-code-solves.git
-
Navigate to the specific problem category:
cd problems/Easy
-
Compile and run the solution using a C++ compiler:
g++ problem_xxx.cpp -o solution ./solution
For Windows, replace
./solution
withsolution.exe
to run the compiled file.
- Comprehensive Solutions: Solutions are provided for a variety of problems, from basic to advanced topics.
- Efficient Code: Solutions are optimized for readability and performance.
- Problem Categorization: Problems are grouped by difficulty and topic for easy navigation.
Below is a summary of the progress for each problem category:
Difficulty | Problems Solved | Total Problems |
---|---|---|
Easy | XX | YY |
Medium | XX | YY |
Hard | XX | YY |
Topic-wise | XX | YY |
Feel free to update the counts above as you solve more problems!
Contributions are welcome! Here's how you can contribute:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Commit your changes:
git commit -am 'Add your message here'
-
Push to the branch:
git push origin feature/your-feature-name
-
Create a Pull Request.
To maintain a positive environment, contributors are expected to follow the Contributor Covenant Code of Conduct.
This project is licensed under the MIT License. You are free to use, modify, and distribute this software under the terms of the MIT License. See the LICENSE
file for more details.
- LeetCode Official Website
- C++ Programming Guide
- GitHub Markdown Guide
- Online Compiler for Quick Tests
For any questions or suggestions, feel free to reach out:
- GitHub: riyad899
- LinkedIn: riyadussalehin
- Email: raditkhan42@gmail.com
Special thanks to:
- The LeetCode community for providing a platform for practicing and enhancing coding skills.
- Everyone who has contributed to this repository.
- Open-source contributors for making knowledge freely accessible to all.
Feel free to replace placeholder content, such as problem counts, to personalize the file!