24 Commits

Author SHA1 Message Date
cd061ccf25 chore: add tests. 2021-07-19 13:12:47 +05:30
937b472dfa Update AverageMedian.js and AverageMedian.test.js 2021-07-19 13:34:38 +08:00
04b71c337a Update AverageMedian.js and added AverageMedian.test.js 2021-07-19 12:44:48 +08:00
a55248a3b7 Added RadianToDegree.js and RadianToDegree.test.js in Maths directory 2021-07-10 14:42:53 +05:30
ec37421591 Added DegreeToRadian.js and DegreeToRadian.test.js in Maths directory 2021-07-09 22:15:43 +05:30
709de83feb Added jest file in tests, added description and normal even number test(divisibility by 2 ) 2021-07-03 18:27:43 +05:30
6d8b134ce7 Formatted with standard 2021-05-23 18:09:39 +09:00
cf5ff92ef9 Add tests for Maths/IsDivisible 2021-05-05 14:23:50 +09:00
c8ab618d00 Merge pull request #477 from Eji4h/master
Refactor Maths/Factorial for more minimal side effects.
2021-01-22 15:44:51 +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
2ebe65baff Add Pow.js (#498)
* Add pow.js

* Add tests for Pow.js
2020-12-20 19:08:37 +05:30
4746d0c90e some changes in coding style to make it standerize 2020-12-14 12:26:08 +05:30
ee749bde47 Added EulersTotientFunction function to the Maths Folder 2020-12-14 00:33:55 +05:30
7a050aba5b Merge pull request #531 from rahul1995/fib-matrix-expo
Add O(log n) algorithm using matrix exponentiation to find n-th fibonacci
2020-11-01 08:55:10 +05:30
eab57b880a add binary convert (#521)
* add  binary convert
2020-10-31 20:22:50 +05:30
9c9640c1c3 Added Softmax to Maths folder (#516) 2020-10-31 12:20:29 +05:30
78a05970e2 Add O(log n) algorithm using matrix exponentiation to find n-th fibonacci 2020-10-30 16:02:15 +05:30
5e6d813b6f Update Binary Exponentiation algorithm file to comply with Javascript standard rules 2020-10-29 21:54:07 +05:30
ae3bd72ca8 Add Iterative Binary Exponentiation 2020-10-29 21:36:31 +05:30
86d5a23674 move math-area tests to test folder 2020-10-18 19:22:19 -07:00
301a8dd19a Fix Extra semicolon and Block must not be padded by blank lines. 2020-10-16 16:35:42 +07:00
e0883facdb Refactor Maths/Factorial for more minimal side effects. 2020-10-16 16:31:40 +07:00
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
cd6ec65e54 Add Algorithms to Math with tests (#429)
* chore: add area and area test

* chore: add armstrong number

* chore: add factors

* chore: add perfect cube

* chore: add perfect square

* chore: add perfect number

* chore: add number of digits

* chore: fix according to standardjs

* chore: remove conflicting files
2020-10-12 01:09:20 +05:30