Welcome to my LeetCode solutions repository! 🚀
This repository is a personal collection of my solutions to various coding challenges on LeetCode. It serves as a record of my learning journey, algorithmic thinking, and problem-solving skills across different data structures and algorithms.
The repository is organized seamlessly, with each problem having its own dedicated directory. Inside each directory, you will typically find:
- A
README.mdfile containing the problem statement, constraints, and examples. - The solution source code file (primarily in C++, with some in Java).
The folders are generally named following the format: [Problem Number]-[Problem Title].
For example: 1-two-sum/
- C++: The primary language used for the majority of the solutions, leveraging the Standard Template Library (STL) for efficient data manipulation.
- Java: Used for a select number of problems.
The problems solved in this repository cover a wide breadth of algorithmic paradigms and data structures, including but not limited to:
- Arrays & Strings
- Linked Lists
- Trees & Graphs
- Hash Tables
- Dynamic Programming
- Greedy Algorithms
- Backtracking
- Sorting & Searching
- Bit Manipulation
- Math & Geometry
- Clone the repository:
git clone https://github.com/shrihari7396/Leetcode.git
- Navigate to the specific problem directory you are interested in.
- Read the
README.mdfor the problem description. - Review the
.cppor.javafile to see the implemented solution.
Consistency is the key to mastering algorithms. Happy coding! 💻