* fix: fixed error in the MaxProductOfThree algorithm
Fixed the error in the MaxProductOfThree by initializing the max and min
variables to null instead of -1. The checks were then altered to check
for null instead of -1.
Also wrote more tests, which randomly generated small arrays and
compared the output of the maxProductOfThree-algorithm to the output of
a slower, but complete, function which calculates all posible
triple-products of the values of the array.
Fixes: #1294
* fix: Added newlines at the end of the files
* Add test case to Edit Distance Algorithm
* Updated Documentation in README.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
* docs: update js doc
* feat: add number type validation condition
* pref: Optimize space complexity
remove the Array from the algo and used two flag varible to calculate last two numbers & optimize the sapce complexity O(n) to O(1)
* test: add test case for invalid types
* Refactors, adds tests and comments to longest common subsequence algorithm
* Refactor docs for longest common subsequence algorithm
* Add links to wikipedia and leetcode
* Fix styling
* Refactor variable naming and jsdoc