A repository for All algorithms implemented in Javascript (for educational purposes only)
This PR fixes #165.
It provides a function to convert a memory amount written in shorthand notation into the corresponding number of bytes as described by https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes.
The 2nd commit assumes the default memory threshold was a typo (24 bytes), and was meant to be 24M (it takes already ~4MB to run index.php and render default html page).
Commits were made on top of BRANCH-1.2 and targets the same branch as it appears to be like the new default, though not officially, but I might be wrong. (?)
merge: fix typo(change file name) (#1034)
merge: FindSecondLargestElement: Support negative numbers (#1036)
FindSecondLargestElement: Support negative numbers
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add test case to Find Second Largest Element Algorithm (#1037)
merge: Rename pigeonHoleSort.test.js to PigeonHoleSort.test.js (#1038)
merge: Rename secondLargestElement.test.js to SecondLargestElement.test.js (#1039)
merge: Add test case to the Exponential Search Algorithm (#1040)
Add test case to the Exponential Search Algorithm
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add test case to jump search Algorithm (#1041)
Add test case to jump search Algorithm
Updated Documentation in README.md
Remove commented code
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add test case to Fibonacci Search Algorithm (#1042)
Add test case to Fibonacci Search Algorithm
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add test case to Edit Distance Algorithm (#1044)
Add test case to Edit Distance Algorithm
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add test case to Interpolation Search Algorithm (#1045)
Add test case to Interpolation Search Algorithm
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add new IsPalindrome implementation (#1046)
merge: More accurate error message at IsDivisible
(#1048)
More accurate error message
Lowercased "R"
Fibonacci.js
overhaul (#1049)
merge: Fix IsPalindrome Big-O analysis (#1054)
Fix IsPalindrome Big-O analysis
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
merge: Add Affine Cipher (#1067)
Add Affine Cipher
Replace IndexOf function to improve performance
remove leading spacing and fixed typo
Remove leading spacing in first row.
merge: Fix GetEuclidGCD (#1068)
Implement the actual Euclidean Algorithm
Replace == with ===
Lua > JS
Standard sucks
Oops
Update GetEuclidGCD.js
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
Wrapping the example matrix with outer array (#1057)
Added JugglerSequence.js (#1075)
Fix Affine-Cipher encrypt and drypt func (#1077)
merge: Implement Shor's factorization algorithm (#1070)
Updated Documentation in README.md
merge: Fix GetEuclidGCD (#1068) (#1069)
Fix GetEuclidGCD
Implement the actual Euclidean Algorithm
Replace == with ===
Lua > JS
Standard sucks
Oops
Update GetEuclidGCD.js
Updated Documentation in README.md
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
Co-authored-by: Lars Müller 34514239+appgurueu@users.noreply.github.com Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com
feat: implement Shor's Algorithm
chore: add tests
Updated Documentation in README.md
chore: fix spelling
Co-authored-by: github-actions ${GITHUB_ACTOR}@users.noreply.github.com Co-authored-by: Lars Müller 34514239+appgurueu@users.noreply.github.com