Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rossop/leetcode

A comprehensive LeetCode solution repository featuring multiple methods per problem, detailed docstring comparisons, and built-in test cases for each solution. Scripts are self-contained, allowing easy testing and performance evaluation.
https://github.com/rossop/leetcode

dsa leetcode-python

Last synced: 24 days ago
JSON representation

A comprehensive LeetCode solution repository featuring multiple methods per problem, detailed docstring comparisons, and built-in test cases for each solution. Scripts are self-contained, allowing easy testing and performance evaluation.

Awesome Lists containing this project

README

        

# LeetCode
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)
[![LeetCode user rossop](https://img.shields.io/badge/dynamic/json?style=flat&labelColor=black&color=%23ffa116&label=Solved&query=solved&url=https%3A%2F%2Fleetcode-badge.vercel.app%2Fapi%2Fusers%2Frossop&logo=leetcode&logoColor=yellow)](https://leetcode.com/rossop/)

This repository contains my solutions to LeetCode problems, organized by programming language and difficulty level. It also includes notes and tips on solving problems and understanding key concepts.

### Table of Contents
- Helps users quickly navigate your README.
- **Example**:
- [Project Description](#project-description)
- [Folder Structure](#folder-structure)
- [How to Use](#how-to-use)
- [Languages](#languages)
- [Contributing](#contributing)
- [License](#license)

## Folder Structure
- `LeetCode/`: The root directory.
- `Python/`: Contains Python solutions categorized by difficulty.
- `Notes/`: Contains notes on concepts and strategies related to problem-solving.

```plaintext
LeetCode/

├── Python/
│ ├── Easy/
│ │ ├── problem_001.py
│ │ ├── problem_002.py
│ │ └── ...
│ ├── Medium/
│ │ ├── problem_101.py
│ │ ├── problem_102.py
│ │ └── ...
│ └── Hard/
│ ├── problem_201.py
│ ├── problem_202.py
│ └── ...

├── Notes/
│ ├── Python/
│ │ └── concepts.md
│ ├── AnotherLanguage/
│ │ └── concepts.md
│ └── General/
│ └── tips_tricks.md

└── README.md
```

## How to Use
- Clone the repository using `git clone https://github.com/yourusername/LeetCode.git`.
- Navigate to the desired problem in the `Python/` directory and run the script using Python.
- Notes on various concepts are available in the `Notes/` directory.

## Languages
- **Python**: Most of the solutions are implemented in Python due to its readability and efficiency in solving algorithmic problems.

## Contributing
- Feel free to leave **comments and suggestions** by submitting pull requests or opening issues.

## References
- If you are just starting out, start here: [AlgoMap.io](https://algomap.io/)
- You can create a leetcode badge by using [this](https://leetcode-badge.vercel.app/).

## License
This project is licensed under the MIT License - see the [LICENSE](LICENCE) file for details.

## Acknowledgements
Thanks to [Greg Hogg](linktr.ee/greghogg) for his brilliant educational content which is appropariate for any level. You can start from [his youtube channell](www.youtube.com/@GregHogg).