Algorithms and utility functions implemented in Javascript
Here is a compilation of commonly used algorithms and utility functions that can help you write good and optimized javascript code. The list of functions included below
--- Algorithms ---
1- Binary Search algorithm for sorted arrays
2- KMP string pattern searching algorithm
3- Nth Fibonacci number using dynamic programming
4- Algorithm to flatten multi-dimensional arrays
5- Find and Remove duplicates from array
6- Dijkstra's shortest path finder
7- Sum of Big Numbers
--- Data Structures ---
1- Linked List
2- Queue
3- Stack
4- Binary Search Tree
5- Graph