8 Commits

Author SHA1 Message Date
1b64ba68fa Fibonacci.js overhaul (#1049) 2022-06-27 10:09:54 +05:30
ca4c1a62af style: Fixed most styles (according to standardjs) 2021-05-21 11:16:11 +05:30
8b1e32eb77 Add extra testcases for Fibonacci and improve code (#544)
* Add extra testcases for Fibonacci and improve code
* Fix typos in Fibonacci.js
2020-12-20 22:24:02 +05:30
feaca3b27a Make Fibonacci.js file comply with standard JS rules 2020-10-30 16:08:16 +05:30
78a05970e2 Add O(log n) algorithm using matrix exponentiation to find n-th fibonacci 2020-10-30 16:02:15 +05:30
e112434dee Add tests to Math (#423)
* Add prettier config

* test: add test to check for absolute function

* chore: es5 to es6

* test: add test to check mean function

* test: add test for sum of digit

* test: add test for factorial

* test: add test for fibonnaci

* test: add test for find HCF

* test: add test for lcm

* test: add gridget test

* test: add test for mean square error

* test: add test for modular binary exponentiation

* test: add tests for palindrome

* test: add test for pascals triangle

* test: add tests for polynomial

* test: add tests for prime check

* test: add tests for reverse polish notation

* test: add tests for sieve of eratosthenes

* test: add tests for pi estimation monte carlo method

* chore: move tests to test folder

* chore: fix standardjs errors
2020-10-12 01:17:49 +05:30
f4fdfd2b4b Fibonacci without recursion added (#159)
* changes made

* Update Fibonacci.js

* fib

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-09 10:06:07 +05:30
75f6888019 Javascript/Math: editing file name 2020-05-06 18:30:19 +05:30