14 Commits

Author SHA1 Message Date
c198a9f53d Added test for ScrambleStrings and formatted folder structure for other folders 2021-10-03 17:28:17 +05:30
2ecee85012 chore: merge "Add test for camel case algorithm" (#710)
* fix: change function name and use ES6 export

* feat: add tests for camel case

Co-authored-by: Alexandre VU <alexandre.vu@montreal.ca>
2021-10-03 14:03:07 +05:30
b03a1b8bbe chore: merge "Add tests for snake case algorithm" (#708)
* feat: adjust function name and use ES6 export

* feat: add test for SnakeCase

Co-authored-by: Alexandre VU <alexandre.vu@montreal.ca>
2021-10-02 13:35:43 +05:30
8c2f2ca15a chore: merge "Dice" (#703)
* feat: add dice coefficient

* chore: link to wikipedia article

* chore: convert to esm

* refactor: add tests

* chore: formatting
2021-10-01 13:57:07 +05:30
19970c35b9 chore: merge "Tests check anagrams (#693)"
* add test cases for checkAnagram function to cover additional inputs and edge cases

* adjust spacing between tests to be more consistent with other files

* update CheckAnagram to return boolean value instead of string

* add a reference link and definition of Anagram to CheckAnagram documentation
2021-09-23 11:29:55 +05:30
e40c62ddd8 chore: merge Tests for check flat case (#689)
* update function documentation and name to match js convention

* add additional documentation explaining what the function does

* add tests for checkFlatCase function

* fix standard.js errors
2021-09-19 12:15:47 +05:30
7af96ae1cc Added HammingDistance.js and HammingDistance.test.js in String directory 2021-07-11 16:30:23 +05:30
9f24341b5b Added test script for CreatePermutations and file name change 2021-05-06 21:08:47 +05:30
291f7b1a23 Apply JS standard rules on KMPPatternSearching.js 2020-10-30 23:04:21 +05:30
2c5aaa3690 Add KMP string searching algorithm 2020-10-30 23:01:06 +05:30
a57323b5d9 Modify ValidateEmail.js to accept all suffixes 2020-10-19 20:16:04 +03:00
54198ac314 Added check pangram algorithm 2020-10-16 15:01:39 +05:00
4a26347767 Added check pangram algorithm 2020-10-16 14:50:14 +05: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