All Algorithms implemented in Python the-algorithms.com/
Go to file
Naveen M V 748702b461
Add Monte Carlo dice simulation algorithm (#1759)
* Implement basic dice simulation

* Add tests to throw_dice

* Fix comment

* Add type hints

* Add additional comments

* Update monte_carlo_dice.py

Co-authored-by: Christian Clauss <cclauss@me.com>
2020-02-17 10:55:04 +01: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 Fixes unused variable errors in LGTM (#1746) 2020-02-11 13:59:09 +05:30
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 Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
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 Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
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
geodesy Created geodesy section with one algorithm (#1757) 2020-02-16 10:55:27 +01:00
graphics Added implementation for Bezier Curve, under a new graphics directory. (#1713) 2020-01-25 07:18:43 +01:00
graphs Fixes unused variable errors in LGTM (#1746) 2020-02-11 13:59:09 +05:30
hashes Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
images Add Travis_CI_tests_are_failing.md (#1499) 2019-10-28 13:38:08 +01:00
linear_algebra Create RayleighQuotient.py (#1749) 2020-02-14 12:56:56 +01:00
machine_learning Added Random Forest Regressor and tested with flake8 (#1733) 2020-02-08 00:07:14 +05:30
maths Add Monte Carlo dice simulation algorithm (#1759) 2020-02-17 10:55:04 +01:00
matrix Fixes unused variable errors in LGTM (#1746) 2020-02-11 13:59:09 +05:30
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 Fixes black failures (#1742) 2020-02-10 11:43:57 +01:00
scripts minor changes in format of DIRECTORY.md (#1461) 2019-10-25 19:33:24 +02:00
searches Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
sorts Create codespell.yml (#1698) 2020-01-18 13:24:33 +01:00
strings Fixes black failures from Previous PR (#1751) 2020-02-13 02:19:41 +05:30
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
.gitpod.yml Add gitpod config (#1744) 2020-02-10 22:26:59 +01: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 Add gitpod config (#1744) 2020-02-10 22:26:59 +01: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

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.