All Algorithms implemented in Python the-algorithms.com/
Go to file
mateuszz0000 1a254465e3
Naive string doctests + typehints (#2054)
* Added doctests

* Added __main__

* Commit suggestion

* Undo changes to keep only doctests and typehints

* Reundo function name with params

* Update naive_string_search.py

* Update naive_string_search.py

* Update naive_string_search.py

* Update naive_string_search.py

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-06-01 15:40:40 +02:00
.github actions/setup-python@v2 (#1986) 2020-05-16 08:49:56 +02:00
arithmetic_analysis Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
backtracking Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
bit_manipulation Create Python/bit_manipulation/README.md (#1897) 2020-04-20 20:19:27 +02:00
blockchain refactor: move import pytest line of blockchain algs under "main" section. (#2012) 2020-05-19 12:56:16 +02:00
boolean_algebra Tabs --> spaces in quine_mc_cluskey.py (#1426) 2019-11-21 22:21:40 +08:00
cellular_automata Blacken one_dimensional.py (#1911) 2020-04-27 18:40:46 +02:00
ciphers Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
compression Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
conversions Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
data_structures data_structures/linked_list: Add __len__() function and tests (#2047) 2020-05-31 11:37:45 +02:00
digital_image_processing Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
divide_and_conquer Merge sort Update variable names (#2032) 2020-05-24 08:38:43 +02:00
dynamic_programming Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
file_transfer Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
fuzzy_logic contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
geodesy Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
graphics Added implementation for Bezier Curve, under a new graphics directory. (#1713) 2020-01-25 07:18:43 +01:00
graphs added Boruvka's MST algorithm (#2026) 2020-05-25 15:10:54 +02:00
hashes Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
images Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00
linear_algebra Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
machine_learning Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
maths Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
matrix Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
networking_flow Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
neural_network Test the exception conditions (#1853) 2020-04-13 02:10:21 +02:00
optimization added hill climbing algorithm (#1666) 2020-01-08 06:00:55 +01:00
other Euclidean recursive method + doctests + type hints (#1999) 2020-05-25 12:32:57 +02:00
project_euler Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
quantum Update README.md (#1842) 2020-04-07 23:56:21 +02:00
scheduling Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
scripts contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
searches Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
sorts Enhance shell sort syntax (#2035) 2020-05-26 04:18:03 +02:00
strings Naive string doctests + typehints (#2054) 2020-06-01 15:40:40 +02:00
traversals Tighten up psf/black and flake8 (#2024) 2020-05-22 08:10:11 +02:00
web_programming current_weather, weather_forecast, weather_onecall (#2048) 2020-05-30 23:47:26 +05:30
.coveragerc Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
.gitignore contribution guidelines checks (#1787) 2020-03-04 13:40:28 +01:00
.gitpod.yml Change gitpod configuration for python3. (#1827) 2020-04-07 12:20:08 +02:00
.travis.yml .travis.yml: Revert to using autoblack (#2033) 2020-05-24 20:38:28 +05:30
CONTRIBUTING.md Update CONTRIBUTING.md (#1886) 2020-04-17 20:03:36 +02:00
DIRECTORY.md circular_linked_list: Add more len() tests (#2051) 2020-05-31 13:06:57 +05:30
LICENSE.md Update year in LICENSE.md (#1848) 2020-04-13 02:17:29 +02:00
README.md Fix psf/black issues than fail the build (#1935) 2020-05-03 23:58:44 +02:00
requirements.txt Added Lstm example for stock predection (#1908) 2020-05-07 08:53:44 +02: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

Gitpod Ready-to-Code Gitter chat  Build Status  LGTM  contributions welcome  Donate   

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.