Skip to content

About

this repo is made to practice building data structures using Javascript with continues enhancements.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

75 Commits

Folders and files

Repository files navigation

Data Structures

This Repository will contain my own implementation of the data structures using Javascript.

Here's the list of the data structures i will be working on:

  • Linked List

    • insertLast
    • insertFirst
    • sortedInsert
    • reversWithConstantSpace
    • reverse
    • indexOf
    • contains
    • deleteFirst
    • deleteLast
    • delete
    • size
    • isPalindrome
    • removeKth
    • removeKthElement
    • toArray
    • printMiddle
    • printMiddleV2
    • hasLoop
    • hasLoopV2
    • print
  • Array

    • insert
    • removeAt
    • indexOf
    • max
    • intersect
    • reverse
    • reverse1
    • insertAt
    • print
  • Stack

  • Queue

    • Regular Queue
      • enqueue
      • size
      • peek
      • dequeue
    • Circular Queue
      • enqueue
      • size
      • peek
      • dequeue
    • Priority Queue
      • #hasParent
      • #hasLeftChild
      • #hasRightChild
      • #getParent
      • #getParentIndex
      • #getLeftChildIndex
      • #getRightChildIndex
      • #getLeftChild
      • #getRightChild
      • #heapify_up
      • #heapify_down
      • enqueue
      • dequeue
  • Heap

  • HashTable

    • HashTableUsingLinkedList
      • #hash
      • add
      • delete
      • find
      • print
    • HashTableUsingArray
      • #hash
      • set
      • get
      • remove
  • Binary Search Tree

    • Binary Search Using Array
      • search
    • Binary Search Tree
      • isFullBinaryTree
      • isCompleteBinaryTree
      • isBalancedBinaryTree
      • isPerfectBinaryTree
      • preorder
      • inorder
      • search
  • Graph

    • GraphUsingAdjacencyList
      • addVertex
      • addEdge
      • bfs
      • bfs_rec
      • #bfs_helper
      • dfs
      • dfs_rec
      • #dfs_helper
      • print
    • GraphUsingAdjacencyMatrix
    • GraphUsingObjectsPointers

About

this repo is made to practice building data structures using Javascript with continues enhancements.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages