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

https://github.com/datascience-py/leetcode


https://github.com/datascience-py/leetcode

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# LeetCode Solutions

This repository contains my solutions to various LeetCode problems, organized by programming languages C++ and Python.

## Structure

* **data.csv:** A CSV file containing metadata about the problems:
* Problem number
* Difficulty
* LeetCode problem link
* Is the problem solved
* List of languages in which the problem is solved (e.g., "C++, Python")
* Tags (e.g., "arrays", "dynamic programming", "binary search")
* **src:** Directory containing the source code for the solutions:
* **cpp:** Directory with C++ solutions.
* **python:** Directory with Python solutions.

## How to use

1. **Clone the repository:**

```bash
git clone https://github.com/DataScience-py/leetcode.git
```

2. **Find a solution:**

By problem number: Search for the corresponding row in the data.csv file.
By tag: Use a text editor or search tool to search the data.csv file for the specified tag.
By language: Navigate to the corresponding directory in the src folder.

3. **Add a new solution:**

Add a new row to data.csv with information about the problem.
Create a file with the solution in the appropriate directory in src.
Commit your changes.

## Contributing

Contributions are welcome! To contribute:

Fork this repository.

Create a new branch.

Make your changes and commit them.

Push the changes to your branch.

Submit a pull request.

We encourage you to participate in the community and help improve this repository. Here's how you can contribute:

Report issues: If you find any bugs or have suggestions for improvement, please open an issue on GitHub.

Suggest new features: Propose new features or enhancements to the repository.

Review pull requests: Help us maintain a high quality of code by reviewing pull requests from other contributors.

## License

This project is licensed under the MIT License - see the LICENSE file for details.