/javascript-algorithm-examples

A collection of some JS algorithms with tests

Primary LanguageJavaScript

javascript-algorithm-examples

A collection of some JS algorithms

To run the tests for each algorithm, open up your terminal and navigate to the root directory of the codebase. Once inside, run the command below:

npm run test <folder name>

Beginner

  1. String reversal
  2. Vowels counter
  3. Most recurring character
  4. Sentence Capitalization
  5. Palindromes
  6. Hamming Distance
  7. Longest Word In a Sentence
  8. Search and Replace
  9. Anagram
  10. Pig-latin

Array Manipulation

  1. Chunk Array
  2. Combining Arrays Without Duplicates
  3. Falsy Bouncer

Mathematical