Go to file
Níkolas Vargas 938dd0bbb5 improved prime numbers implementation (#1606)
* improved prime numbers implementation

* fixup! Format Python code with psf/black push

* fix type hint

* fixup! Format Python code with psf/black push

* fix doctests

* updating DIRECTORY.md

* added prime tests with negative numbers

* using for instead filter

* updating DIRECTORY.md

* Remove unused typing.List

* Remove tab indentation

* print("Sorted order is:", " ".join(a))
2019-12-07 06:39:08 +01:00
.github Typo in a comment (#1603) 2019-11-29 00:23:37 +05:30
arithmetic_analysis Addition of Secant Method (#876) 2019-10-28 19:27:00 +01:00
backtracking Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08: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 fixed bug (#1610) 2019-12-03 12:14:30 +01:00
compression Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
conversions psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
data_structures improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
digital_image_processing improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
divide_and_conquer psf/black code formatting (#1421) 2019-10-22 19:13:48 +02:00
dynamic_programming Fractional knapsack (#1524) 2019-11-22 22:55:19 +08:00
file_transfer GitHub Action formats our code with psf/black (#1569) 2019-11-14 19:59:43 +01:00
fuzzy_logic Remove code with side effects from main (#1577) 2019-11-17 19:38:48 +01:00
graphs Improve prim.py (#1226) 2019-12-01 06:13:28 +01:00
hashes add the index calculation class at digital_image_processing and the hamming code algorithm at hashes (#1152) 2019-12-06 07:13:10 +01:00
images Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00
linear_algebra Update README.md (#1588) 2019-11-23 04:06:52 +01:00
machine_learning Added Multilayer Perceptron (sklearn) (#1609) 2019-12-03 12:17:42 +01:00
maths improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
matrix psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
networking_flow psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
neural_network Remove code with side effects from main (#1577) 2019-11-17 19:38:48 +01:00
other Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
project_euler Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
scripts minor changes in format of DIRECTORY.md (#1461) 2019-10-25 19:33:24 +02:00
searches Fix indentation contains tabs (flake8 E101,W191) (#1573) 2019-11-15 23:05:00 -08:00
sorts improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01:00
strings Reverse Words (#1581) 2019-11-18 12:47:26 +01:00
traversals psf/black code formatting (#1277) 2019-10-05 10:14:13 +05:00
web_programming added current stock price (#1590) 2019-11-23 13:54:06 +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 Add pytest-cov (#1578) 2019-11-17 19:37:58 +01:00
CONTRIBUTING.md Readability of CONTRIBUTING.md (#1422) 2019-10-23 04:07:50 +08:00
DIRECTORY.md improved prime numbers implementation (#1606) 2019-12-07 06:39:08 +01: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 Add pytest-cov (#1578) 2019-11-17 19:37:58 +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