Welcome to YeetCode! This repository is dedicated to providing comprehensive Python solutions for LeetCode problems, specifically designed for complete beginners. Each problem's solution is housed in its directory, making it easy for you to find the explanations and code you need.
⚠️ Note - I switched away from LeetCode to grind TryHackMe xD. Which is why it has just 3 problems. I promise to make this repo much more lively around placement season
The repository structure follows the format of "Problem Number. Problem Name." For example:
1. Two Sum
2. Add Two Numbers
- ...
Inside each directory, you will find a Markdown file (.md
) that offers a detailed explanation of the problem and a Python solution heavily commented on for easy comprehension.
To access the solutions and explanations, simply navigate to the corresponding directory of the problem you're interested in. There, you will find a comprehensive Markdown file with a detailed problem description, Python code, and thorough comments to help you understand the solution step by step.
As an example, you can check out the Two Sum problem to see the format and depth of our explanations.
In addition to written explanations and code, we have provided video solution links for some problems. These videos offer alternative ways to approach and solve the problems, providing you with multiple learning resources.
In the last section of each problem's explanation, we list the fundamental topics and concepts that will help you better understand the solution. If a problem requires a good understanding of data structures like linked lists, arrays, or algorithms, we make sure to guide you on where to start.
We encourage you to contribute to this repository to help us grow and improve the collection of LeetCode solutions. If you decide to contribute, please ensure that your solutions adhere to the following guidelines:
- Follow the existing directory structure and naming convention.
- Provide heavily commented Python code for better understanding.
- Ensure that any links provided are functional and not broken.
Feel free to open pull requests or create issues if you have suggestions, corrections, or additional LeetCode problems you'd like to see explained.
Thank you for choosing YeetCode as your learning resource for LeetCode problems. Happy coding!