Contributing to DSA Solutions Thank you for your interest in contributing to this project! We’re thrilled to have you participate. Below are some guidelines to help you get started.
How to Contribute
Fork the Repository Start by forking this repository to your own GitHub account by clicking the “Fork” button at the top right of this page.
Clone the Repository Once you have forked the repository, clone it to your local machine
Create a Branch Before you make any changes, create a new branch for your contribution:
git checkout -b your-branch-name
Solve a DSA Problem Choose a Data Structures and Algorithms problem from the issues page, or solve any of the DSA questions listed in the repository.
Follow the Code Guidelines Please ensure that your code follows these guidelines:
Languages Accepted: We currently accept solutions in all languages. Add your solution under the corresponding folder, if folder is not there please create it.
Filename Convention: Use meaningful names for the files like problem-name.ext. For example:
two-sum.py reverse-linkedlist.cpp Comments: Add comments in your code to explain the logic, especially for tricky parts. This will help others understand your thought process and make reviewing your code easier.
Test Cases: Ensure your solution covers edge cases and provide relevant test cases within the code comments. Example:
git push origin your-branch-name
Go to the original repository on GitHub and click “New Pull Request.”
Project Structure ├── C/ ├── C++/ ├── Java/ ├── Python/ └── JavaScript/ Each language has its own folder. Please place your solution in the appropriate folder.
Issue Reporting If you find a bug or want to suggest an improvement, feel free to open an issue here. We’ll try to address them as soon as possible.
Hacktoberfest This repository is participating in Hacktoberfest 2024! Make sure your pull requests follow Hacktoberfest's official rules. Remember, only meaningful contributions will be accepted for the event.