/DS-JS

This repository contains the implementations of the most common Data Structures, including most used properties &/or methods associated with it. written in JavaScript.

Primary LanguageJavaScript

Data-Structures in JavaScript

This repository contains the implementations of the most common Data Structures, including most used properties &/or methods associated with it. written in JavaScript.

Completed Implementations

  • Singly Linked Lists
  • Doubly Linked Lists
  • Stacks
  • Queues
  • Binary Search Trees (BST)
  • Binary Heaps (BH) & Priority Queues (PQ)
  • Hash Maps / Hash Tables
  • Graphs

Methods Covered for Each Data Structure

Singly & Double Linked Lists

  • Push
  • Pop
  • Shift
  • Unshift
  • Get
  • Set
  • Insert
  • Remove
  • Reverse

Stacks

  • Push
  • Pop

Queues

  • Enqueue
  • Dequeue