- Find an issue that needs assistance by searching in our Issue Tracker.
- Let us know you are working on it by posting a comment on the issue.
- Follow these Contribution Guidelines to start working on the issue.
- Fork it by clicking the "Fork" button in the top level of the repository.
- Clone your fork of Data-Structures-Algorithms.
$ git clone https://github.com/yourUsername/Data-Structures-Algorithms
- Create your feature branch:
git checkout -b my-new-feature
- Add your changes to the project.
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit your pull request!
When you make a Pull Request, all of your changes need to be in one commit.
If you have more than one commit in your feature branch you should squash your commits.
- Your PR title should follow the
category: algorithm (language)
model.- Ex1:
Sorting: Bubble Sort (C)
- Ex2:
Searching: Binary Search (Java)
- Ex1:
- After creating your PR, you must fill the checkboxes that define our contribution guidelines.
- Your changes will be reviewed and added to the main repository!
After your pull request is merged, you can safely delete your branch.
- All the codes should be modular.
- All the codes should be indented.
- Name of the file should be algorithm's name and first letter of file should be capital.
- Code written should be readable.
- Variable names should be logical and understandable. Like
int x; // This is not allowed
- Same algorithm can be submitted in different languages.