96 Commits

Author SHA1 Message Date
7af96ae1cc Added HammingDistance.js and HammingDistance.test.js in String directory 2021-07-11 16:30:23 +05:30
b77c0a18e2 fix(LevenshteinDistance.test.js): Fixed broken test 2021-05-21 12:52:06 +05:30
7992caa54f feat(PermutateString.js): Array.prototype.map() -> Array.prototype.forEach() 2021-05-21 12:35:12 +05:30
9f24341b5b Added test script for CreatePermutations and file name change 2021-05-06 21:08:47 +05:30
4bc2b28b7e #559 Improve Palindrome check
* #559

* #559

* #559

* #559

Co-authored-by: LOkesh <lpatil@rewardhealth.com>
2021-02-17 01:48:00 +05:30
71192ab109 Merge pull request #532 from Khez/string-validate-email
#142 #461 Adding Doctests to String/ValidateEmail.js
2021-01-22 08:18:29 +05:30
d8395e7c9f Merge pull request #533 from Khez/string-reverse-words
#142 #461 Adding Doctests to String/ReverseWords.js
2021-01-20 20:41:24 +05:30
9386c29fdf Merge pull request #534 from Khez/string-reverse-string
#142 #461 Adding Doctests to String/ReverseString.js
2021-01-20 20:40:49 +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
6bc638b34e StandardJS Checks require space after function name 2020-10-30 18:28:29 +02:00
84e4c9906b #142 #461 Adding Doctests to String/ReverseString.js 2020-10-30 18:24:34 +02:00
50091d299f #142 #461 Adding Doctests to String/ReverseWords.js 2020-10-30 18:17:57 +02:00
09d38fe959 #142 #461 Adding Doctests to String/ValidateEmail.js 2020-10-30 18:11:51 +02:00
a57323b5d9 Modify ValidateEmail.js to accept all suffixes 2020-10-19 20:16:04 +03:00
26f57adcf7 Merge pull request #496 from Mozartuss/master
Add generateUUID.js
2020-10-19 09:45:49 +05:30
f455cc3b09 Only Node.js version (delete crypto version (Browser)) 2020-10-18 19:37:10 +02:00
b651e544f0 add generateUUID.js 2020-10-18 01:15:07 +02: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
7b2c305931 Merge pull request #403 from rubiin/master
Added createPermutation function
2020-10-15 19:02:31 +05:30
90c4900cca Update createPurmutations.js 2020-10-15 16:39:00 +05:45
a0750f37b3 Update and rename CreatePurmutations.js to createPurmutations.js 2020-10-15 16:38:32 +05:45
9b63efcce7 Add Email Validation Function (#462)
* Add Email Validation Function

* fix standard styling issues
2020-10-12 12:59:37 +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
8cb5644d1e Merge pull request #458 from piemme/adding-string-permutation-algorithm
Add Algorithm String Permutation
2020-10-12 00:42:04 +05:30
7ee564b5a2 Merge pull request #432 from josecarlosweb/feat/Add_MaxCharacter_algoritm
Added max character algorithm
2020-10-12 00:24:09 +05:30
d429f7ce60 Merge pull request #436 from aladin002dz/AddPhoneNumberFormatting
Add Phone Number Formatting Function
2020-10-12 00:13:08 +05:30
7aa9410c7a Add Algorithm String Permutation 2020-10-11 19:00:38 +02:00
de65d53a86 Added new algoritm (#433) 2020-10-10 23:25:46 +05:30
ba3af82e84 Add Phone Number Formatting Function 2020-10-07 11:37:42 +01:00
c7517885a2 Added new algoritm 2020-10-06 23:50:42 -03:00
2aa1426eba Added Levenshtein distance (a.k.a edit distance) algorithm to strings directory 2020-10-06 17:34:40 +05:30
86ed0d8829 fix code style using standardjs 2020-10-06 00:08:52 -03:00
fbd3442cf0 fix ident file 2020-10-05 23:52:21 -03:00
bd70fd2ada Added new algoritm 2020-10-05 17:03:56 -03:00
c5fc353c32 Added tests for Strings algorithms (#390)
* test: added tests for check anagram function
2020-10-04 23:08:48 +05:30
e156fe36a1 tweak: must be same output string (#395) 2020-10-04 23:06:34 +05:30
815035686b Fixes: #155 - Check if a string rearranged can be a palindrome (#407)
* Check if a string rearranged can be a palindrome

* Fixes: #155 - palindromeRearranging

* Update CheckRearrangePalindrome.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-10-04 22:52:28 +05:30
a55f00a079 ran standard 2020-10-04 20:45:18 +05:45
2acf4c1c01 Create CreatePurmutations.js 2020-10-04 20:35:09 +05:45
47dfc59082 Add string check anagram (#254)
* Add CheckAnagram.js to String Algorithms that checks if Strings are anagrams

* Add CheckAnagram.js to String Algorithms that checks if Strings are anagrams

* Add CheckAnagram.js to String Algorithms that checks if Strings are anagrams
2020-08-19 23:53:25 +05:30
f530f816af Added string pattern matching algorithm (#238) 2020-08-19 12:02:22 +05:30
bf9100f40f Added CheckPalindrome (#213)
* Added CheckPalindrome contributed by @Swapnil-2001
2020-06-30 09:34:33 +05:30
e0789bccde Add reverse words (#162)
* add reverse words

* Update ReverseWords.js

* Update ReverseWords.js

Co-authored-by: vinayak <itssvinayak@gmail.com>
2020-05-10 00:25:56 +05:30
0085ea3e7c format files 2020-05-09 10:08:40 +05:30