All Algorithms implemented in Python the-algorithms.com/
Go to file
2019-05-26 18:16:45 +05:30
.vs Fixed typo error in perceptron.py 2018-11-14 21:08:43 -03:00
analysis/compression_analysis make images' path specific (#671) 2018-12-26 21:06:34 +08:00
arithmetic_analysis Re-design psnr.py code and change image names (#592) 2018-11-05 18:19:08 +01:00
binary_tree Update basic_binary_tree.py (#748) 2019-04-07 23:53:50 +08:00
boolean_algebra all valid python 3 2018-10-20 14:45:08 -05:00
ciphers Added Trafid Cipher (#746) 2019-04-04 03:27:36 +08:00
compression enhancement (#803) 2019-05-16 19:20:42 +08:00
data_structures Added treap (#797) 2019-05-26 06:20:37 +08:00
digital_image_processing Add median filter algorithm (#675) 2019-01-19 09:20:59 +05:30
dynamic_programming Bitmasking and DP added (#705) 2019-03-28 01:59:31 +08:00
file_transfer_protocol reduce indentation (#741) 2019-03-28 01:46:46 +08:00
graphs Removed the (incorrectly named) redundant file graph_list.py and renamed graph.py to graph_list.py (#820) 2019-05-21 14:06:05 +08:00
Graphs added eulerian path and circuit finding algorithm (#787) 2019-05-16 19:20:27 +08:00
hashes Fix ResourceWarning: unclosed file (#681) 2019-01-08 16:59:23 +08:00
linear_algebra_python Update README.md 2018-11-12 23:38:08 +05:30
machine_learning Random Forest Classification added 2018-10-27 08:12:16 +05:30
maths [FIX] maths/PrimeCheck (#796) 2019-05-11 19:20:25 +08:00
matrix More matrix algorithms (#745) 2019-03-28 01:50:43 +08:00
networking_flow snake_case all the things 2018-10-19 17:14:25 -05:00
neural_network Fixed typo error in perceptron.py 2018-11-14 21:08:43 -03:00
other Add NQueens backtracking search implementation (#504) 2019-05-20 04:36:46 +08:00
project_euler Adding unit tests for sorting functions, and improving readability on some sorting algorithms (#784) 2019-05-25 21:41:24 +08:00
searches Interpolation search - fix endless loop bug, divide 0 bug and update description (#793) 2019-05-18 10:59:12 +08:00
simple_client Update client.py 2018-10-30 14:59:46 +01:00
sorts Adding unit tests for sorting functions, and improving readability on some sorting algorithms (#784) 2019-05-25 21:41:24 +08:00
strings Fix typo (#806) 2019-05-14 21:45:53 +04:30
traversals Adding function for actual level order traversal (#699) 2019-02-17 00:16:43 +08:00
.gitignore Remove Multiple Unused Imports and Variable 2018-10-18 02:58:57 +05:30
.lgtm.yml LGTM: Start testing on Python 3 instead of Python 2 (#510) 2018-10-24 21:38:51 +02:00
.travis.yml Use ==/!= to compare str, bytes, and int literals (#767) 2019-05-16 19:26:46 +08:00
License Create License 2016-10-30 21:28:35 +05:30
README.md Update README.md 2019-05-26 17:11:41 +05:30

The Algorithms - Python

Donate

All algorithms implemented in Python (for education)

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

Contribution Guidelines

  • File name should be in camel case.
  • Write proper documentation of the code.
  • Avoid input methods as far as possible. Assign values to the variables statically. This will make the code easy to understand and algorithm can be traced easily.
  • Add a corresponding explaination to Algorithms-Explanation (Optional but recommended).
  • Avoid importing external libraries for basic algorithms.

Community Channel

https://gitter.im/TheAlgorithms