This repository contains JavaScript implementations of various data structures and algorithms. It's a collection of code snippets and examples which I learned and implemented.
-
Linked List: Implementation of a singly and doubly linked list.
-
Queue: Queue data structure implemented using a linked list.
-
Stack: Stack data structure implemented using a linked list.
-
HashTable: A simple implementation of a hash table.
-
Binary Search Tree: A basic implementation of a binary search tree with methods for insertion, search, traversal, and more.
-
Graph: Implementation of a basic graph data structure with methods for adding vertices, edges, and more.
-
Bubble Sort: Implementation of the bubble sort algorithm.
-
Search Algorithms: Includes algorithms like binary search.
-
Graph Algorithms: Algorithms like Breadth-First Search (BFS) for graph traversal.
Clone the repository and explore the code. You can use this code to understand how these data structures and algorithms work, and even integrate them into your own projects.
git clone https://github.com/Darshan016/data-structures-and-algorithms-in-javascript.git