javascript-algorithms
javascript-algorithms copied to clipboard
💻 JavaScript implementations of computer science algorithms
A lot of these Algorithms use old ES syntax ie. using the "var" key-word, or an old way of function declaration......change this to ES6 syntax,
Lomuto's and Hoare's partitioning functions could be reused across different algorithms. It'll be a good idea to put them in separate files.
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...
updated the binarySearch code from es5 to es6 fixes issue #209
fixed issue #213 to update the kmp es5 to es6
### Description: #### Current Behavior: The current implementation of the Knuth-Morris-Pratt (KMP) algorithm is written in a mix of ES5 and older JavaScript syntax. It consists of a function that...
Implement Binary Search in ES6. Your Code should follow the Repositories and General Programming Standards. All the variable names should be Readable and Understandable.