This repository contains my solutions to various LeetCode problems. Each solution is organized by problem number and includes a detailed explanation of the approach used.
Welcome to my LeetCode solutions repository! Here, you will find my solutions to a variety of LeetCode problems, ranging from easy to hard. Each solution is accompanied by a detailed explanation to help you understand the approach and logic used.
The solutions are organized by problem number and can be found in the solutions
directory. Each problem has its own folder, which contains the solution code and a README.md
file with the problem description and explanation.
- Clone the repository:
git clone git@github.com:trinhminhtriet/leetcode.git
- Navigate to the
solutions
directory:
cd leetcode/solutions
- Find the problem you are interested in and open the corresponding folder to view the solution and explanation.
Contributions are welcome! If you have a better solution or an improvement to an existing solution, feel free to open a pull request. Please ensure that your code follows the same structure and includes a detailed explanation.
This repository is licensed under the MIT License. See the LICENSE file for more details.