1139 Commits

Author SHA1 Message Date
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
e4f3171904 updating DIRECTORY.md 2021-09-05 07:58:04 +00:00
b622815176 chore: Merge pull request #678 from suryapratapsinghsuryavanshi/master
added RailwayTimeConversion method in the conversion category.
2021-09-05 13:27:47 +05:30
34b783dd59 re-formate with standard.js 2021-09-04 23:06:12 +05:30
479973bd93 add RailwayTimeConversion method 2021-09-04 23:05:30 +05:30
0ad2c6e8f3 Update BubbleSort.js
Corrected spelling mistake
2021-09-04 00:18:49 -07:00
a19541b289 updating DIRECTORY.md 2021-08-31 16:50:10 +00:00
0f69f653df chore: Merge pull request #670 from suryapratapsinghsuryavanshi/master
Added GetGCD and ReverseNumber method in Maths category.
2021-08-31 22:19:47 +05:30
09ce0c76a6 change the GetGCD method to GetEuclidGCD method 2021-08-31 13:53:49 +05:30
92b8b46f36 add type checking 2021-08-31 13:48:39 +05:30
c67b0e9f1d add ReverseNumber method 2021-08-31 03:53:53 +05:30
d7e8bf492d fix types error in GetGCD method 2021-08-31 03:33:35 +05:30
60b185d8cb re-formate GetGCD with standard.js 2021-08-31 03:32:44 +05:30
10373dda7b add GetGCD method 2021-08-31 03:31:53 +05:30
0853f4449f updating DIRECTORY.md 2021-08-28 09:06:36 +00:00
6fd1cf9de6 chore: Merge pull request #669 from suryapratapsinghsuryavanshi/master
added TitleCaseConversion method in conversion category
2021-08-28 14:36:19 +05:30
705b1236c8 re-formate TitleCaseConversion method with standard.js 2021-08-28 13:00:43 +05:30
da675fb237 add Problem statement and Explanation source in TitleCaseConversion 2021-08-28 12:58:37 +05:30
4810119b44 add TitleCaseConversion method 2021-08-28 12:54:14 +05:30
edee905201 updating DIRECTORY.md 2021-08-27 03:05:04 +00:00
79fa44b9fd chore: Merge pull request #668 from suryapratapsinghsuryavanshi/master
added UpperCaseConversion method in Conversions category
2021-08-27 08:34:46 +05:30
00baf232b9 add UpperCaseConversion method 2021-08-26 23:29:23 +05:30
f6745d2091 updating DIRECTORY.md 2021-08-26 07:40:41 +00:00
0182d5bd35 chore: Merge pull request #666 from suryapratapsinghsuryavanshi/master
added LowerCaseConversion method in Conversions category
2021-08-26 13:10:25 +05:30