1162 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
255ef9a50d updating DIRECTORY.md 2021-10-03 11:39:26 +00:00
37b2cebe22 Merge pull request #715 from Koddi-Evangelista/master
feat: add scramble string algorithm
2021-10-03 17:09:12 +05:30
9aedaa8bd6 updating DIRECTORY.md 2021-10-03 11:32:28 +00:00
d2ed0c7b47 Merge pull request #717 from trasherdk/DecimalToHex
DecimalToHex - test
2021-10-03 17:02:15 +05:30
38b42cf0a4 Update DecimalToHex.js
updated as per `standard.js`
2021-10-03 16:57:52 +05:30
c35b20a4ce DecimalToHex
- Add test file DecimalToHex.test.js
- Add export to DecimalToHex.js
- Remove console.log from DecimalToHex.js
2021-10-03 12:11:34 +02:00
c0fa45cc19 updating DIRECTORY.md 2021-10-03 08:33:26 +00:00
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
ff671ffd12 updating DIRECTORY.md 2021-10-03 06:05:46 +00:00
ea36915c37 Merge pull request #711 from pomkarnath98/master
Added ProjectEuler problem 8 with passed test cases
2021-10-03 11:35:30 +05:30
9d996e1898 feat: add scramble string algorithm 2021-10-03 10:09:57 +08:00
b38a94dda5 Removed mistakenly added semicolon 2021-10-02 23:55:41 +05:30
8b1d10df78 Added ProjectEuler problem 8 with passed test cases 2021-10-02 23:45:28 +05:30
15835ede13 updating DIRECTORY.md 2021-10-02 11:23:35 +00:00
56ccbfcb32 chore: merge "Added DecimalToRoman" (#707)
* Added DecimalToRoman

* add explanation

* added test
2021-10-02 16:53:18 +05:30
3a87d4932e updating DIRECTORY.md 2021-10-02 10:32:07 +00:00
63e3403b8b feat: remove API implementations
Fetching data from web APIs is not a valid algorithm.
2021-10-02 16:01:48 +05:30
31ed18069a updating DIRECTORY.md 2021-10-02 08:05:58 +00:00
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
ad9ff37385 updating DIRECTORY.md 2021-10-01 08:27:26 +00:00
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
ab65e2ac76 updating DIRECTORY.md 2021-10-01 04:49:03 +00:00
dd19680261 chore: merge "Added backtracking sum of subset (#702)"
* sum of subset algorithm

* set returns comment

* fix comment

* add resource url to comments

* separate test to different file and format
2021-10-01 10:18:49 +05:30
ee605b7694 updating DIRECTORY.md 2021-09-27 16:14:30 +00:00
f071220c3e chore: merged "Quick select tests" (#697)
* add link to function description

* fix formatting for consistency

* export function so it can be imported for testing

* throw error on invalid input

* add tests for QuickSelect.js

* remove unnecessary comment

* Update Data-Structures/Array/QuickSelect.js

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-09-27 21:44:11 +05:30
36603e7382 chore: update dependencies
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases)
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5)

---
updated-dependencies:
- dependency-name: tmpl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-27 12:17:59 +05:30
8c7d592191 chore: merge "removeValue method implemented to remove a particular node from the BST #687" (#696)
* removeValue method of BST implemented #687

* code has formatted for the file BinarySearchTree.js
2021-09-27 11:02:10 +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
b399cf43e2 updating DIRECTORY.md 2021-09-22 16:11:06 +00:00
3cae80e456 chore: merge "repulling all together (#694)"
* Create slidingWindow.js

* Rename slidingWindow.js to SlidingWindow.js

* update the commit
2021-09-22 21:40:45 +05:30
32359498ee chore: merge "added standard js badge in Readme.md (#692)"
* added standard js badge in Readme.md

* Update README.md

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-09-21 14:03:34 +05:30
3c90d5db7a chore: merge "Tests check vowels (#691)"
* add tests to CheckVowels to cover additional inputs and edge cases

* make line spacing consistent with other test files
2021-09-20 12:55:02 +05:30
340f8e54a2 updating DIRECTORY.md 2021-09-19 13:25:41 +00:00
77a2411395 chore: merge add QuickSortRecursive method. (#690)
* add QuickSortRecursive method

* added an exception for test cases

* fix for test cases

* added test cases for QuickSortRecursive
2021-09-19 18:55:25 +05:30
c1030ec279 updating DIRECTORY.md 2021-09-19 06:46:06 +00:00
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
401ccd0200 updating DIRECTORY.md 2021-09-13 14:11:48 +00:00
b3b4ad43a3 chore: Added Sum of Digits Implementation (#684)
* Added the main logic, need to work on Tests

* Added tests for SOD

* Fix typo and add Wikipedia link in comments

* Fix mistake in SumOfDigitsUsingStrings

I intended to initially write a different implementation but I wrote something else 🤦‍♂️

* Converted Spacing from Tabs to Spaces

* Oops, forgot about the test file

* Fixed semicolon problems...

* Oops, I missed a few semicolons

* Linting is hell TwT

Co-authored-by: SpiderMath <{ID}+{username}@users.noreply.github.com>
2021-09-13 19:41:28 +05:30
65ec706d61 updating DIRECTORY.md 2021-09-09 11:17:12 +00:00
d49cf9fead chore: Added BellmanFord (#679)
* Added BellmanFord

* Add References for BellmanFord

* Style code using standard.js

* Add tests and modify code

* Fixed BellmanFord test file

* Add BellmanFord and tests
2021-09-09 16:46:52 +05:30
8d72872738 updating DIRECTORY.md 2021-09-09 09:26:45 +00:00
210accfa98 chore: Merge pull request #682 from suryapratapsinghsuryavanshi/master
added CoPrimeCheck and CheckKishnamurthyNumber methods
2021-09-09 14:56:23 +05:30
5e3106e81b fix, self-contained gcd method 2021-09-07 18:10:47 +05:30
5a8bb67124 fix the string method problem 2021-09-07 17:55:11 +05:30
800308f216 add CheckKishnamurthyNumber 2021-09-07 03:33:17 +05:30
7fb345b4bd fix typing style 2021-09-07 03:23:38 +05:30
617ec6ba27 fix number checking 2021-09-07 03:23:02 +05:30
d79e2f71fa add CoPrimeCheck method 2021-09-07 03:10:17 +05:30
f04dec3623 chore: Merge pull request #675 from mohan-murali/patch-1
Update BubbleSort.js
2021-09-05 13:32:27 +05:30