Skip to content

Common Javascript algorithms which I tried (trying) to get best solution 🚦

Notifications You must be signed in to change notification settings

pranesh239/javascript-algorithms

Repository files navigation

js problems, Data-Structures, Algorithms 🔍

PRs Welcome

“The problem contains the solution.”
- Michael Bierut

alt text

Contents:

Completed Algorithms:

  • String reversal
  • Palindrome
  • Integer reversal
  • Array chunk
  • Maximum character
  • Sentence capitalize
  • Steps
  • Fibonacci (with Memoize function!)
  • Data Structure: Queue (with weave)
  • Data Structure: LinkedList (with getMiddle, isCircular and reverse methods!)
  • Data Structure: Binary search tree (with validator function)

Work in progress:

  • Data Structure: Tree
  • FizzBuzz (test)
  • Anagram (Definition)
  • Add Babel and ESLint to use ES6 functionalities and to check best practices
  • Trie

Built with:

  • Jest: Javascript test library

Steps

To install dependencies

yarn install

To run test

yarn test

About

Common Javascript algorithms which I tried (trying) to get best solution 🚦

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published