There implementations are for learning purposes. If you want to contribute more efficient solutions feel free to open an issue and commit your solution.
You can look for Algorithms to implement at: LeetCode Algorithms
To contribute make sure the Algorithm isn't commited yet! Make sure to add the number of the Issue in your PR.
Please make sure your file is in the
LeetCode-Folder and Named like this:
0001_TwoSum.py -> 4-digit Number of the LeetCode Issue, Underscore, LeetCodeName
When you open an issue, please make sure the Problem is not already implemented (Look at Code/Leetcode for the Problemnumber). Opened Issues by existing Problem will be closed & PR made to this Issue marked as spam The Contributer who opened an issue will be assigned prefered to the issue. If there is no PR within about 7 Days the issue will be assigned to another Contributer.
Only Pull Requests joined with an Issue and matching the naming-conventions (See Folders and Files) will be merged! If there is no Issue joined in the PR your PR will be labeld as spam and closed. If your code don't passes the Check on LeetCode.com your PR will be labeld as "invalid" and the Issue stays open for the next PR! If your PR doesn' follow the Contributing Guidelines of this Repository it will be also marked as spam and closed!
Users who spam this Repo with PRs/Issues that does not align the Contribution Guidelines will be blocked.
git clone https://github.com/your-username/pythonalgorithms.git
git checkout -b feature/branch-name
git checkout -b bugfix/branch-name
git add . git commit -m 'commit message' git push origin branch-name
During October there come pretty much PRs and Issues - Please be patient because of my fulltime job I cannot be online 24/7 - I do my best to work through your PRs as soon as possible.