Welcome to my LeetCode 100 - Top Liked Questions solution repository! This repository contains well-structured, optimized C++ solutions to the 100 most liked LeetCode problems, along with detailed explanations to enhance your understanding.
The Top 100 Liked Questions on LeetCode are carefully selected problems that are widely appreciated by the coding community. These problems cover a diverse range of topics, making them essential for:
- Technical interviews
- Competitive programming
- Coding assessments
By mastering these questions, you will develop strong algorithmic thinking, problem-solving skills, and optimized coding techniques.
The solutions are categorized based on topics, making it easy to navigate:
- Backtracking
- Binary Search
- Binary Tree
- Dynamic Programming
- Graph
- Greedy
- Hashing
- Heap
- Linked Lists
- Matrix
- Sliding Window
- Stack, Two Pointers, and more
I have solved all 100 most liked problems on LeetCode, and the solutions are well-organized into respective folders based on topics.
To get a local copy, use the following command:
git clone https://github.com/suman105/LeetCode-Top-100-Liked-Problems.git
cd LeetCode-Top-100-Liked-ProblemsEnsure you have C++ and Git installed on your system. You can follow the installation guides for C++ and Git.
You can run any solution using your preferred IDE or by compiling it from the command line using:
g++ <filename>.cpp -o <outputfile>
./<outputfile>Contributions are welcome! Feel free to fork this repository, suggest improvements, or add alternative solutions. To contribute:
- Fork the repository.
- Create a new branch.
git checkout -b feature-branch
- Commit your changes.
git commit -am 'Add new solution' - Push to your fork.
git push origin feature-branch
- Open a pull request.
If you find this repository helpful, consider giving it a star⭐ on GitHub. Your support motivates me to continue improving and adding more solutions! 🚀
Happy Coding! 💻🎯