/DataStructureJS

Popular Data Structures and Algorithms Implemented in JavaScript

Primary LanguageJavaScriptMIT LicenseMIT

Data Structures and Algorithms

Run Test

npm run test

Data Structures

This is a list of implementation and usage of popular data structure with JavaScript.

Currently, include:

  • Stack
  • Queue
    • Priority Queue
    • Circular Queue
  • Linked List

Algorithms

  • Sorting
    • Bubble Sort
    • Selection Sort
    • Insertion Sort
    • Merge Sort
    • Quick Sort
  • Dynamic Programming
    • Minimum Coin Change Problem

Classic Problems

  • Foundations
    • Towers of Hanoi - 3 Towers
    • Towers of Hanoi - N Towers
    • Unbreakable Encryption - String
    • Unbreakable Encryption - Image
    • Fibonacci - Iteration
  • Search
    • DNA Search - Binary Search