Joyce a6831c898a
math/greatest_common_divisor: add support for negative numbers (#2628)
* add type hints to math/gcd

* add doctest

* math/gcd - run black formatter

* math/gcd: remove manual doctest

* add correction to gcd of negative numbers

* add more doctest in iterative gcd
2020-10-29 12:47:26 +05:30
2020-10-26 08:09:33 +01:00
2020-10-21 12:46:14 +02:00
2020-10-24 16:07:27 +02:00
2020-10-29 08:43:34 +08:00
2020-10-27 12:05:37 +08:00
2019-11-17 19:37:58 +01:00
2020-04-13 02:17:29 +02:00
2020-10-12 14:10:42 +05:30
2020-10-24 16:07:27 +02:00

The Algorithms - Python

Gitpod Ready-to-Code Gitter chat  Build Status  LGTM  contributions welcome  Donate    pre-commit code style: black

All algorithms implemented in Python (for education)

These implementations are for learning purposes only. Therefore 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.

Languages
Python 99.9%
Shell 0.1%