https://github.com/datascience-py/leetcode
https://github.com/datascience-py/leetcode
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/datascience-py/leetcode
- Owner: DataScience-py
- License: mit
- Created: 2024-11-26T11:19:18.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-28T12:29:42.000Z (about 1 year ago)
- Last Synced: 2025-02-04T09:16:55.246Z (12 months ago)
- Language: C++
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.