1485 Commits

Author SHA1 Message Date
961f21f97c merge: Add test case and enacements (#858) 2021-12-01 11:38:06 +05:30
c3b2bacf08 merge: fixes: #{} (#853)
* fixes: #{}

* fixes : ISSUE#795

* Fixed ISSUE:795

* Fixed : ISSUE:795

* Fixed ISSUE : 795

* Fixed ISSUE : 795
2021-11-30 18:10:20 +05:30
bf681d1a91 merge: alphaNumericPlaindrome optamization (#857) 2021-11-29 20:45:18 +05:30
6f1edd16f5 merge: Add test Case for Palindrome Recursive (#855)
* Add test Case for Palindrome Recursive

* Update Checks
2021-11-28 13:34:54 +05:30
027c0d6307 merge: Add test cases (#854) 2021-11-28 11:49:11 +05:30
cc34088aae merge: Add Description and Optamization (#852) 2021-11-27 16:50:09 +05:30
51415f8a12 merge: Add test case (#851)
* Add test case

* minor fix

* delete files

* rename file
2021-11-27 12:58:18 +05:30
c33b19a731 merge: Graph (#850)
* Modify Graph bfs method

* add dfs in graph
2021-11-27 11:08:35 +05:30
061218b693 merge: Modify Graph bfs method (#847) 2021-11-26 22:16:23 +05:30
de2708990d merge: Add FindMin (#849) 2021-11-26 22:12:30 +05:30
2fb0d48d94 merge: Add test cases, optamization of code, and Add description of function (#848)
* Add test cases, optamization of code, and Add description of function

* update testcase
2021-11-26 22:08:43 +05:30
8b1a4b90f6 merge: fix #844 (#846)
* fix #844

* formatted code according to standard.js
2021-11-25 12:33:10 +05:30
4aac366694 merge: Refactor Code and Add test case (#845) 2021-11-25 10:18:26 +05:30
2ae00a97dc merge: add description (#843) 2021-11-23 11:34:26 +05:30
4e7a15694b merge: add test case and description (#842) 2021-11-22 22:23:48 +05:30
02a4cee5c2 merge: optamization,documantation,return Array[bool] => Array[primes only], test case (#841) 2021-11-20 17:15:36 +05:30
93e57b0de5 merge: Add FibonacciNumber.js test case and update the decription of function. (#840) 2021-11-20 16:21:25 +05:30
f379475723 merge: Add TribonacciNumber in dp (#839) 2021-11-20 09:43:27 +05:30
c1c895bebd chore: Add PowLogarithmic in Math (#836)
* Add PowLogarithmic in Math

* add description
2021-11-19 10:40:51 +05:30
65931be0f8 merge: fixed argument data type (#835) 2021-11-08 09:59:07 +05:30
85b0571d81 chore: Strings: Credit Card Validation (#830)
* Add credit card number validator

- Validates the credit card number based on Luhn algorithm

* Test Cases: ValidateCreditCard

* Auto-update DIRECTORY.md

* Fix: Spell check

* Add references and move const inside function

* Add comments

* Fix trailing spaces

* Add short description

* Remove trailing spaces

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-04 13:34:52 +05:30
64920bf1a3 merge: Removed ignored code files form codespell workflow. (#834)
* Auto-update DIRECTORY.md

* chore: remove ignored code files

* chore: ignore more words

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-11-03 11:26:38 +05:30
308b022b03 merge: Sliding window (#833)
* new algorithm 'Sliding-Window' added with example 'Longest Substring Without Repeating Characters'

* new example of sliding window 'Permutation in String' added

* chore: add `ignore_words_list`

* sliding-window moved into Dynamic-programming directory

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-11-03 09:33:20 +05:30
12cf29ef18 fix: endlines in the CI file 2021-11-02 10:57:57 -06:00
2619ab673f merge: Added bisection method (#827)
* feat: Added bisection method

* Auto-update DIRECTORY.md

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-31 22:30:46 +05:30
f692da2448 Auto-update DIRECTORY.md 2021-10-31 16:59:15 +00:00
7c39839714 merge: Add LinearSieve.js (#828) 2021-10-31 22:28:45 +05:30
09eebc492a merge: fix: optimize PrimeFactors (#823) 2021-10-29 09:57:16 +05:30
3723322bd0 fix: update file name 2021-10-28 18:48:36 +05:30
9120085bdf chore: use UpperCamelCase 2021-10-28 18:46:50 +05:30
d2883fe6ef chore: use UpperCamelCase 2021-10-28 18:46:20 +05:30
01a2e9ac9e chore: use UpperCamelCase 2021-10-28 18:45:57 +05:30
2203c1a0e4 chore: use UpperCamelCase 2021-10-28 18:45:36 +05:30
1cd3b8683a merge: Created midpoint integration numerical method (#822)
* Created midpoint integration numerical method

* Auto-update DIRECTORY.md

* Added resources link

* Fixed doxumentation

* Fixed spelling error

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
2021-10-28 18:09:40 +05:30
072523d594 merge: Fix spellings (#821)
* chore: remove codespell from ci

* feat: add codespell workflow

* fix: codespell workflow

* fix: ignore spellings in directory

* chore: fix spellings

./Dynamic-Programming/KadaneAlgo.js:2: contiguos ==> contiguous
./Dynamic-Programming/KadaneAlgo.js:14: posible ==> possible

* chore: fix spelling

./Dynamic-Programming/SieveOfEratosthenes.js:4: upto ==> up to

* chore: fix spellings

./Dynamic-Programming/MaxNonAdjacentSum.js:22: Exmaple ==> Example

* chore: fix spelling

./Project-Euler/test/Problem010.test.js:4: upto ==> up to
./Project-Euler/test/Problem010.test.js:8: upto ==> up to
./Project-Euler/test/Problem010.test.js:12: upto ==> up to

* chore: fix spelling

./String/AlphaNumericPalindrome.js:10: recieves ==> receives
./String/AlphaNumericPalindrome.js:10: sting ==> string
./String/AlphaNumericPalindrome.js:46: varaible ==> variable

* chore: fix spelling

./String/DiceCoefficient.js:3: stings ==> strings

* chore: fix spelling

./String/test/DiceCoefficient.test.js:9: atleast ==> at least

* chore: fix spelling

./String/test/MaxWord.test.js:8: ba ==> be

* chore: ignore `PermutateString.test.js`

* chore: fix spelling

./String/test/CheckVowels.test.js:62: occurances ==> occurrences

* chore: ignore `SubsequenceRecursive.js`

* chore: fix spelling

./Conversions/TemperatureConversion.js:2: arguement ==> argument

* chore: fix spelling

./Conversions/RailwayTimeConversion.js:7: Formate ==> Format
./Conversions/RailwayTimeConversion.js:8: Formate ==> Format

* chore: remove Linear Algebra

The deleted directory hosted a package which are not accepted by this repository.

* Auto-update DIRECTORY.md

* chore: fix spelling

* chore: fix spellings

* merge: Created composite Simpson's integration method. Tests included. (#819)

* Created composite Simpson's integration method.Tests included

* Minor corrections

* Auto-update DIRECTORY.md

* Styled with standard.js

* chore: remove blank line

* chore: remove blank line

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: remove codespell from ci

* feat: add codespell workflow

* fix: codespell workflow

* fix: ignore spellings in directory

* chore: fix spellings

./Dynamic-Programming/KadaneAlgo.js:2: contiguos ==> contiguous
./Dynamic-Programming/KadaneAlgo.js:14: posible ==> possible

* chore: fix spelling

./Dynamic-Programming/SieveOfEratosthenes.js:4: upto ==> up to

* chore: fix spellings

./Dynamic-Programming/MaxNonAdjacentSum.js:22: Exmaple ==> Example

* chore: fix spelling

./Project-Euler/test/Problem010.test.js:4: upto ==> up to
./Project-Euler/test/Problem010.test.js:8: upto ==> up to
./Project-Euler/test/Problem010.test.js:12: upto ==> up to

* chore: fix spelling

./String/AlphaNumericPalindrome.js:10: recieves ==> receives
./String/AlphaNumericPalindrome.js:10: sting ==> string
./String/AlphaNumericPalindrome.js:46: varaible ==> variable

* chore: fix spelling

./String/DiceCoefficient.js:3: stings ==> strings

* chore: fix spelling

./String/test/DiceCoefficient.test.js:9: atleast ==> at least

* chore: fix spelling

./String/test/MaxWord.test.js:8: ba ==> be

* chore: ignore `PermutateString.test.js`

* chore: fix spelling

./String/test/CheckVowels.test.js:62: occurances ==> occurrences

* chore: ignore `SubsequenceRecursive.js`

* chore: fix spelling

./Conversions/TemperatureConversion.js:2: arguement ==> argument

* chore: fix spelling

./Conversions/RailwayTimeConversion.js:7: Formate ==> Format
./Conversions/RailwayTimeConversion.js:8: Formate ==> Format

* chore: remove Linear Algebra

The deleted directory hosted a package which are not accepted by this repository.

* Auto-update DIRECTORY.md

* chore: fix spelling

* chore: fix spellings

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: fix spelling

* chore: no need to check filenames

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: ggkogkou <76820848+ggkogkou@users.noreply.github.com>
Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
2021-10-28 15:37:43 +05:30
7722870183 merge: Created composite Simpson's integration method. Tests included. (#819)
* Created composite Simpson's integration method.Tests included

* Minor corrections

* Auto-update DIRECTORY.md

* Styled with standard.js

* chore: remove blank line

* chore: remove blank line

Co-authored-by: ggkogkou <ggkogkou@ggkogkou.gr>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-28 15:07:07 +05:30
b30f9f36f5 chore: fix spelling
./Graphs/DepthFirstSearchRecursive.js:26: recursivly ==> recursively
2021-10-28 13:52:22 +05:30
d16336a000 chore: fix spelling
./Sorts/PancakeSort.js:36: essentialy ==> essentially
2021-10-28 13:51:11 +05:30
315db14c5f chore: fix spelling
./Sorts/IntroSort.js:303: Implented ==> Implemented
2021-10-28 13:50:05 +05:30
59e9baf11b feat: add codespell 2021-10-28 12:34:59 +05:30
f8d4a2678d chore: jest fall back 2021-10-28 12:16:15 +05:30
82db978dc5 Auto-update DIRECTORY.md 2021-10-28 06:45:28 +00:00
9ad93c7b28 merge: Create findRelativeMaximumPointCount.js (#771)
* Create find_relative_maximum_point_count.js

print number of relative maximum points in array
runs in O(n)

* rename file to match requested casing

* add inline comments and greater documentation

* fix wrong reference to algorithm explanation

* remove live code and fix function misnaming

* add multiple cases tests

* add last line as empty line

* git pull

* style changes

* move tests to test folder

* chore: fix spelling

* fix package-lock

* revert to old lock file

* chore: add line feed

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-28 12:15:01 +05:30
00900f1446 Auto-update DIRECTORY.md 2021-10-28 06:38:14 +00:00
820f8e9c29 merge: Create firstRelativeMaxPointInArray.js (#772)
* Create first_relative_max_point_in_array.js

go over randomly generated array and print first spike or maximum point index in it
runs in O(log(n))

* rename file to match requested casing

* add comments

I prefer SOLID standards so that's why didn't add them at first but due to the repository requirements was needed to be added

* remove template unrelated comments

* Update equals check to match JavaScript standards

* create file skafolding and adjust filename to reflect main function

* using newer node version

* add tests

* add last line as empty line

* style changes

* move algorithm tests to test folder

* revert to old package lock file

* chore: add ending line feed

Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-28 12:07:48 +05:30
1cef191494 merge: Made all tests follow file strcture convention already in-place (#820)
* add empty line to end of file

* Move all test files to /test following convention
2021-10-28 10:00:04 +05:30
970b4f2827 Auto-update DIRECTORY.md 2021-10-27 17:50:15 +00:00
e4808a6513 merge: Add MinHeap and test (#817)
* Add MinHeap and test

* Add description and reference link

* Adjust formatting
2021-10-27 23:19:52 +05:30
54de6e5372 merge: Fix pull request template (#818)
The existing template uses * to apply the bold font weight. As we
already have the ### to markdown the text as heading, its redundant to
have the *s.
2021-10-27 23:17:32 +05:30
4e18bbdeb6 Auto-update DIRECTORY.md 2021-10-26 12:35:57 +00:00