TheSuperNoob 1608d75351
Improve collatz_sequence algorithm (#1726)
- Add more doctests and type checking to make sure only natural
  numbers are used

- Simplified the algorithm slightly
	This new verison is also between 10-15% faster for really
	long sequences
2020-02-07 02:30:08 +05:30
2020-01-28 05:09:47 +08:00
2020-01-18 13:24:33 +01:00
2019-10-18 08:13:58 +02:00
2020-01-18 13:24:33 +01:00
2020-01-18 13:24:33 +01:00
2020-01-18 13:24:33 +01:00
2020-01-18 13:24:33 +01:00
2020-01-18 13:24:33 +01:00
2020-01-18 13:24:33 +01:00
2019-11-17 19:37:58 +01:00
2020-01-28 05:09:47 +08:00
2019-06-02 12:14:18 +08: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

Languages
Python 99.9%
Shell 0.1%