All Algorithms implemented in Python the-algorithms.com/
Go to file
Christian Clauss 670f952aa6
Travis CI: Don’t allow bare exceptions (#1734)
* Travis CI: Don’t allow bare exceptions

* fixup! Format Python code with psf/black push

* except IOError:

* except IOError:

* Update hamming_code.py

* IndexError

* Get rid of the nonsense logic

Co-authored-by: John Law <johnlaw.po@gmail.com>
2020-02-07 22:02:08 +02:00
.github Fix typo (#1718) 2020-01-28 05:09:47 +08:00
arithmetic_analysis Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
backtracking Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
blockchain Add Topological Sort (#1302) 2019-10-18 08:13:58 +02:00
boolean_algebra Tabs --> spaces in quine_mc_cluskey.py (#1426) 2019-11-21 22:21:40 +08:00
ciphers Travis CI: Don’t allow bare exceptions (#1734) 2020-02-07 22:02:08 +02:00
compression Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
conversions Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
data_structures Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
digital_image_processing Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
divide_and_conquer Corrects failing check in master (#1676) 2020-01-12 14:58:47 +05:30
dynamic_programming Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
file_transfer Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
fuzzy_logic Remove code with side effects from main (#1577) 2019-11-17 19:38:48 +01:00
graphics Added implementation for Bezier Curve, under a new graphics directory. (#1713) 2020-01-25 07:18:43 +01:00
graphs Add Prim's algorithm with min heap (#1704) 2020-01-22 02:46:03 +08:00
hashes Travis CI: Don’t allow bare exceptions (#1734) 2020-02-07 22:02:08 +02:00
images Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00
linear_algebra Travis CI: Don’t allow bare exceptions (#1734) 2020-02-07 22:02:08 +02:00
machine_learning Added Random Forest Regressor and tested with flake8 (#1733) 2020-02-08 00:07:14 +05:30
maths Improve collatz_sequence algorithm (#1726) 2020-02-07 02:30:08 +05:30
matrix Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
networking_flow Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
neural_network Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
optimization added hill climbing algorithm (#1666) 2020-01-08 06:00:55 +01:00
other Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
project_euler Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
scheduling Added first come first served scheduling (#1722) 2020-02-06 21:48:58 +02:00
scripts minor changes in format of DIRECTORY.md (#1461) 2019-10-25 19:33:24 +02:00
searches Augment binary search algorithms (#1719) 2020-01-28 22:33:59 +05:30
sorts Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
strings Implement Manacher's algorithm (#1721) 2020-02-05 19:27:42 +08:00
traversals psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
web_programming Create get_imdb_top_250_movies_csv.py (#1659) 2020-01-05 22:28:36 +01:00
.coveragerc Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
.gitignore Update .gitignore to remove __pycache__/ (#1127) 2019-08-17 00:46:33 +02:00
.travis.yml Travis CI: Don’t allow bare exceptions (#1734) 2020-02-07 22:02:08 +02:00
CONTRIBUTING.md Mandates referencing issue in PR (#1717) 2020-01-27 21:54:57 +01:00
DIRECTORY.md Fix typo (#1718) 2020-01-28 05:09:47 +08:00
LICENSE.md Create CONTRIBUTING.md (#864) 2019-06-02 12:14:18 +08:00
README.md Readability of CONTRIBUTING.md (#1422) 2019-10-23 04:07:50 +08:00
requirements.txt Remove \r from strings (#1622) 2019-12-10 15:53:50 +01:00
Travis_CI_tests_are_failing.md Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00

The Algorithms - Python

Donate  Build Status  LGTM  Gitter chat  contributions welcome   

All algorithms implemented in Python (for education)

These implementations are for learning purposes. They may be less efficient than the implementations in the Python standard library.

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Community Channel

We're on Gitter! Please join us.

List of Algorithms

See our directory.

Open in Gitpod