aewens / PythonAlgorithms

All Algorithms implemented in Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The Algorithms - Python

All algorithms implemented in Python 3 (for education)

There implementations are for learning purposes. If you want to contribute more efficient solutions feel free to open an issue and commit your solution.

Inspiration

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.

Folders and Files

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

Pull Requests

Only Pull Requests joined with an Issue and matching the naming-conventions (See Folders and Files) will be merged! 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!

Getting Started

  • Fork this repository (Click the Form button, top right of this page)
  • Clone your fork down to your local machine
git clone https://github.com/your-username/pythonalgorithms.git
  • Comment to the Issue you want to work on - so I can assign you to it OR create a new Issue from a LeetCode Problem that is not implemented yet
  • Create a branch for a new feature
git checkout -b feature/branch-name
  • Or if its a bugfix to a file
git checkout -b bugfix/branch-name
  • Make your changes (choose from the Tasks above!)
  • Commit and Push
git add .
git commit -m 'commit message'
git push origin branch-name
  • Create a New Pull Request from your forked repository ( Click the 'New Pull Request' Button located at the top of your repo)
  • Wait for your PR review and merge approval!
  • Star this repository if you had fun!

Which PR will be accepted?

  • Ones you are assigned to
  • Your PR has to link the Issue
  • Your Solution must be correct - you can check ist on LeetCode (submit) if it works on different test-cases

Thank You!

About

All Algorithms implemented in Python 3

License:MIT License


Languages

Language:Python 100.0%