First of all, thank you for considering contributing to this repository! We welcome contributions from anyone willing to help improve the repository.
-
Fork the Repository
- Click the "Fork" button on the top right of this page to create a copy of the repository in your GitHub account.
-
Clone Your Fork
-
Clone the forked repository to your local machine:
git clone https://github.com/programming-for-career/algorithms.git
-
-
Create a New Branch
-
Before making any changes, create a new branch:
git checkout -b your-branch-name
-
-
Make Your Changes
- Add a new algorithm or fix an issue.
-
Commit Your Changes
-
Commit your changes with a descriptive commit message:
git commit -m "Add [algorithm name] in [language]"
-
-
Push to Your Fork
-
Push the changes to your forked repository:
git push origin your-branch-name
-
-
Submit a Pull Request
- Go to the "Pull Requests" tab in the repository and create a new pull request.
- Indentation: Use 4 spaces for indentation.
- Naming Conventions: Use descriptive names for variables, functions, and classes.
- Commenting: Make sure your code is well-commented, explaining your logic where necessary.
- Keep it Simple: Always try to make your code as simple and readable as possible.
If you find a bug or issue, feel free to open an issue in the "Issues" tab.
We appreciate your contributions!