Skip to content

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

Notifications You must be signed in to change notification settings

iMishaDev/data-structures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages