Skip to content
All Algorithms implemented in Python
Python
Branch: master
Clone or download

Latest commit

Akashpycs and cclauss added __len__ function (#1812)
* added __len__ function

Added a function to count number of nodes in linked list

* Updated __len__ method

used snake_case instead of camel case

* Add tests to __len__()

Co-authored-by: Christian Clauss <cclauss@me.com>
Latest commit f9e0dd9 May 18, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github actions/setup-python@v2 (#1986) May 16, 2020
arithmetic_analysis Create codespell.yml (#1698) Jan 18, 2020
backtracking Hamiltonian Cycle (#1930) May 2, 2020
bit_manipulation Create Python/bit_manipulation/README.md (#1897) Apr 20, 2020
blockchain Add Topological Sort (#1302) Oct 18, 2019
boolean_algebra Tabs --> spaces in quine_mc_cluskey.py (#1426) Nov 21, 2019
cellular_automata Blacken one_dimensional.py (#1911) Apr 27, 2020
ciphers hill_cipher.py: gcd() -> greatest_common_divisor() (#1997) May 18, 2020
compression Create codespell.yml (#1698) Jan 18, 2020
conversions Create codespell.yml (#1698) Jan 18, 2020
data_structures added __len__ function (#1812) May 18, 2020
digital_image_processing The new version of flake8 is linting f-strings (#1976) May 13, 2020
divide_and_conquer Wrap lines that go beyond GitHub Editor (#1925) May 1, 2020
dynamic_programming Wrap lines that go beyond GitHub Editor (#1925) May 1, 2020
file_transfer Create codespell.yml (#1698) Jan 18, 2020
fuzzy_logic contribution guidelines checks (#1787) Mar 4, 2020
geodesy Implemented geodesy - Lambert's ellipsoidal distance (#1763) Feb 20, 2020
graphics Added implementation for Bezier Curve, under a new graphics directory. ( Jan 25, 2020
graphs Add graphs/frequent_pattern_graph_miner.py (#1866) May 7, 2020
hashes contribution guidelines checks (#1787) Mar 4, 2020
images Add Travis_CI_tests_are_failing.md (#1499) Oct 28, 2019
linear_algebra Changed the deprecated `np.matrix` to `np.ndarray` (#1923) May 1, 2020
machine_learning Fix astar (#1966) May 10, 2020
maths actions/setup-python@v2 (#1986) May 16, 2020
matrix Wrap lines that go beyond GitHub Editor (#1925) May 1, 2020
networking_flow Create codespell.yml (#1698) Jan 18, 2020
neural_network Test the exception conditions (#1853) Apr 13, 2020
optimization added hill climbing algorithm (#1666) Jan 8, 2020
other Wrap lines that go beyond GitHub Editor (#1925) May 1, 2020
project_euler Deal with maps (#1945) May 6, 2020
quantum Update README.md (#1842) Apr 7, 2020
scheduling Added Shortest Job First Algorithm (#1957) May 7, 2020
scripts contribution guidelines checks (#1787) Mar 4, 2020
searches Update linear_search.py (#1974) May 14, 2020
sorts Added strand sort (#1982) May 17, 2020
strings fix: space count in strings/word_occurrence.py (#1896) Apr 21, 2020
traversals contribution guidelines checks (#1787) Mar 4, 2020
web_programming Deal with maps (#1945) May 6, 2020
.coveragerc Add pytest-cov (#1578) Nov 17, 2019
.gitignore contribution guidelines checks (#1787) Mar 4, 2020
.gitpod.yml Change gitpod configuration for python3. (#1827) Apr 7, 2020
.travis.yml Travis CI: Strict flake8 (#1962) May 10, 2020
CONTRIBUTING.md Update CONTRIBUTING.md (#1886) Apr 17, 2020
DIRECTORY.md hill_cipher.py: gcd() -> greatest_common_divisor() (#1997) May 18, 2020
LICENSE.md Update year in LICENSE.md (#1848) Apr 13, 2020
README.md Fix psf/black issues than fail the build (#1935) May 3, 2020
Travis_CI_tests_are_failing.md Add Travis_CI_tests_are_failing.md (#1499) Oct 28, 2019
requirements.txt Added Lstm example for stock predection (#1908) May 7, 2020

README.md

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.

You can’t perform that action at this time.