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
8a4f117574
merge: add UnionFind.js plus tests ( #814 )
...
* Create UnionFind.js
* Create UnionFindTest.js
* add UnionFind.js plus tests
* implement PR comments
* implement PR comment
* fix codestyle
Co-authored-by: Administrator <pi@pglp.noip.me>
2021-10-26 18:05:22 +05:30
4fa3c5ecd4
Auto-update DIRECTORY.md
2021-10-26 11:27:09 +00:00
7c2f19b691
merge: Rename 2 filenames to follow PascalCase ( #816 )
...
* Added LucasSeries
* Added more tests and renamed function
* Changed RangeError to TypeError
* Added Aliquot Sum and tests
* Fix ALiquot tests, need to learn how to use Jest
* Added some explanation for the Aliquot sum
* Change file names of DecimalIsolate & IsOdd to Pascal case
2021-10-26 16:56:45 +05:30
3f007379e5
Auto-update DIRECTORY.md
2021-10-26 09:30:41 +00:00
502aec24cb
merge: Added Aliquot Sum Implementation ( #810 )
...
* Added LucasSeries
* Added more tests and renamed function
* Changed RangeError to TypeError
* Added Aliquot Sum and tests
* Fix ALiquot tests, need to learn how to use Jest
* Added some explanation for the Aliquot sum
2021-10-26 15:00:07 +05:30
4fb0809666
merge: fixes : #774 - add test and fix MinPriorityQueue implementation ( #811 )
2021-10-26 09:11:32 +05:30
32781c2aa1
Auto-update DIRECTORY.md
2021-10-25 04:33:36 +00:00
69a397cc33
merge: Added LucasSeries Implementation ( #808 )
...
* Added LucasSeries
* Added more tests and renamed function
* Changed RangeError to TypeError
2021-10-25 10:03:02 +05:30
e8d862ca94
merge: Added manhattan distance and euclidean distance for distance 2 points task ( #809 )
...
* Added Hex to Binary conversion
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Fix errors
* fix: typo
* Added Manhattan Distance Algorithm
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-25 09:26:53 +05:30
32f1e3351c
merge: Added Hex to Binary conversion ( #805 )
...
* Added Hex to Binary conversion
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Update Conversions/HexToBinary.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
* Fix errors
* fix: typo
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-24 14:26:56 +05:30
d19108b481
Auto-update DIRECTORY.md
2021-10-23 17:46:33 +00:00
d5e309b605
merge: Add binary to decimal test file and convert function to es6 model. ( #806 )
...
* Added Hex to Binary conversion
* Add Binary to decimal test
* Fix Style
2021-10-23 23:16:13 +05:30
4ba2c32d78
Auto-update DIRECTORY.md
2021-10-23 17:44:29 +00:00
cd3974c457
merge: Added Sum of GP ( #807 )
2021-10-23 23:14:01 +05:30
e83b570d44
merge: fixed some spellings ( #773 )
...
* fixed some spellings
* Update Data-Structures/Linked-List/SinglyLinkList.js
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
Co-authored-by: Rak Laptudirm <raklaptudirm@gmail.com>
2021-10-22 13:26:26 +05:30