📘 A collection of algorithmic problem solutions from LeetCode, implemented in C++.
This repository contains curated solutions to a variety of LeetCode problems, all written in C++. It serves as a resource for practicing and improving your problem-solving skills across different topics and difficulty levels.
LeetCode is a leading platform for preparing technical coding interviews and enhancing algorithmic thinking. The problems here are selected from LeetCode and solved using clean, efficient, and well-documented C++ code.
Feel free to explore different solutions and approaches. There's often more than one way to solve a problem—experiment, debug, and learn as you go.
All problems can be accessed via the LeetCode website.
Each solution in this repository is named according to the problem title or number, making it easier to find the corresponding question.
This repository includes solutions to problems involving:
- Arrays & Strings
- Hash Tables
- Two Pointers
- Sliding Window
- Recursion & Backtracking
- Binary Search
- Stack & Queue
- Linked Lists & Trees
- Graphs (BFS, DFS)
- Dynamic Programming
- Greedy Algorithms
- Sorting & Searching
The main objectives of this repository are to:
- Strengthen algorithmic and logical thinking
- Improve coding fluency in C++
- Prepare for coding interviews and technical assessments
- Practice structured problem-solving under constraints
- Build a strong foundation for competitive programming
Contributions are welcome and appreciated!
If you'd like to add a solution, suggest an improvement, or report an issue, feel free to open a pull request or submit an issue. Let’s make this a valuable resource for all learners.
All problem statements are the property of LeetCode.
The solutions provided here are for educational purposes only. They should not be used for cheating in contests or interviews.
Happy Coding! 🚀