Python/maths
StephenGemin 9b945cb2b4 Iterative fibonacci with unittests from slash (#882)
* iterative and formula fibonacci methods

Added two ways to calculate the fibonacci sequence:  (1) iterative  (2) formula.  

I've also added a timer decorator so someone can see the difference in computation time between these two methods.  

Added two unittests using the slash framework.

* Update test_fibonacci.py

* remove inline comments per Contributing Guidelines

* Update sol5.py

* Create placeholder.py

* Update and rename maths/test_fibonacci.py to maths/tests/test_fibonacci.py

* Delete placeholder.py

* Create __init__.py

* Update test_fibonacci.py

* Rename Maths/lucasSeries.py to maths/lucasSeries.py

* Update and rename Project Euler/Problem 01/sol5.py to project_euler/problem_01/sol6.py
2019-06-08 20:25:34 +08:00
..
tests Iterative fibonacci with unittests from slash (#882) 2019-06-08 20:25:34 +08:00
3n+1.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
abs_Max.py refactor 2019-05-26 21:56:10 +05:30
abs_Min.py refactor 2019-05-26 21:56:10 +05:30
abs.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
average.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
basic_maths.py snake_case all the things 2018-10-19 17:14:25 -05:00
Binary_Exponentiation.py refactor 2019-05-26 21:56:10 +05:30
extended_euclidean_algorithm.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
factorial_python.py Organize graph algorithms (#719) 2019-02-25 17:35:24 +08:00
factorial_recursive.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
fermat_little_theorem.py Fermat's little theorem (#847) 2019-05-28 20:51:48 +08:00
fibonacci_sequence_recursion.py Added b16, b32, a85, abs, absMax, absMin 2018-11-03 12:08:13 -08:00
fibonacci.py Iterative fibonacci with unittests from slash (#882) 2019-06-08 20:25:34 +08:00
find_lcm.py Some directories had a capital in their name [fixed]. Added a recursive factorial algorithm. (#763) 2019-04-22 22:53:56 +08:00
Find_Max.py refactor 2019-05-26 21:56:10 +05:30
Find_Min.py refactor 2019-05-26 21:56:10 +05:30
greater_common_divisor.py snake_case all the things 2018-10-19 17:14:25 -05:00
Hanoi.py implementation of tower_of_hanoi algorithm (#756) 2019-04-14 19:58:16 +08:00
lucasSeries.py Iterative fibonacci with unittests from slash (#882) 2019-06-08 20:25:34 +08:00
modular_exponential.py snake_case all the things 2018-10-19 17:14:25 -05:00
newton_raphson.py Implementation of Newton-Raphson method (#650) 2019-02-12 00:15:49 +08:00
Prime_Check.py refactor 2019-05-26 21:56:10 +05:30
segmented_sieve.py snake_case all the things 2018-10-19 17:14:25 -05:00
sieve_of_eratosthenes.py all valid python 3 2018-10-20 14:45:08 -05:00
simpson_rule.py snake_case all the things 2018-10-19 17:14:25 -05:00
trapezoidal_rule.py snake_case all the things 2018-10-19 17:14:25 -05:00