All Algorithms implemented in Python the-algorithms.com/
Go to file
Kiril Bangachev 47d17951b8 Add Kth lexicographic permutation (#1179)
* Add Kth lexicographic permutation

Function that computes the kth lexicographic permtation of 0,1,2,...,n-1 in O(n^2) time

* Update kth_lexicographic_permutation.py

Addressed requested changes
2019-09-13 13:13:55 +02:00
.github Update stale.yml 2019-08-29 00:53:42 +05:30
arithmetic_analysis print() is a function just like every other function (#1101) 2019-08-06 12:14:23 +02:00
backtracking Added sudoku solving program in backtracking algorithms (#1128) 2019-08-13 15:51:06 +02:00
boolean_algebra added doctests for compare_string and is_for_table (#1138) 2019-08-23 00:55:41 +08:00
ciphers Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
compression Added Burrows-Wheeler transform algorithm. (#1029) 2019-07-17 20:32:04 +02:00
conversions bin(num). convert ZERO and negative decimal numbers to binary. (#1093) 2019-08-03 20:00:10 +02:00
data_structures Add Binomial Heap (#1146) 2019-09-05 07:58:37 +02:00
digital_image_processing fix outdated fork error (#1117) 2019-08-08 17:59:15 +02:00
divide_and_conquer changing typo (#1168) 2019-09-04 22:06:44 +02:00
dynamic_programming Fully refactored the rod cutting module. (#1169) 2019-09-05 08:22:06 +02:00
file_transfer Fix tests for file_transfer and perceptron.py (#1121) 2019-08-11 13:00:58 +02:00
graphs Fixing lgtm issue in basic graphs (#1141) 2019-08-20 07:02:43 +02:00
hashes Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
linear_algebra Remove 'python' from the filename (#1130) 2019-08-15 13:19:38 +02:00
machine_learning implementation of sorted vector machines (#1156) 2019-08-28 12:56:43 +02:00
maths Add Kth lexicographic permutation (#1179) 2019-09-13 13:13:55 +02:00
matrix Update matrix_class.py (#1175) 2019-09-10 07:49:07 +02:00
networking_flow Add doctests to networking_flow/minimum_cut.py (#1126) 2019-08-13 11:59:49 +02:00
neural_network Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
other Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
project_euler Add problem 67 solution (#1170) 2019-09-08 10:40:07 +02:00
scripts Update DIRECTORY (#1161) 2019-09-06 11:02:37 +02:00
searches Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
sorts Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
strings Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
traversals Added a few doctests for traversals (#1149) 2019-08-25 14:14:17 +02:00
.gitignore Update .gitignore to remove __pycache__/ (#1127) 2019-08-17 00:46:33 +02:00
.travis.yml Fix tests for file_transfer and perceptron.py (#1121) 2019-08-11 13:00:58 +02:00
CONTRIBUTING.md Simplify code by dropping support for legacy Python (#1143) 2019-08-19 15:37:49 +02:00
DIRECTORY.md Update DIRECTORY (#1161) 2019-09-06 11:02:37 +02:00
LICENSE.md Create CONTRIBUTING.md (#864) 2019-06-02 12:14:18 +08:00
README.md Add badges to the top of README.md (#1064) 2019-07-24 14:34:22 +02:00
requirements.txt Travis CI: Add pytest --doctest-modules machine_learning (#1016) 2019-08-10 22:48:00 +02: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.

Owners

Anup Kumar Panwar   [Gmail   GitHub   LinkedIn]

Chetan Kaushik   [Gmail   GitHub   LinkedIn]

Contribution Guidelines

Read our Contribution Guidelines before you contribute.

Open in Gitpod

Community Channel

We're on Gitter! Please join us.

Algorithms

See our directory.