Skip to content

Hashir15432/learn-data-structures-js

Repository files navigation

learn-data-structures-js

Data Structures Repository

Welcome to the Data Structures Repository!
This project contains implementations of essential data structures with explanations, code samples, and usage examples. Perfect for interview prep, education, or brushing up on your programming fundamentals.


Table of Contents


About the Repo

This repository contains clean, commented, and beginner-friendly implementations of popular data structures. Each structure includes:

  • Definition
  • Real-world applications
  • Time & Space complexities
  • Simple code implementation
  • Example usage

Languages Used

Currently implemented in:

  • JavaScript (ES6+)

Future support for Python, Java, or C++ is possible.


Data Structures Covered

Linear Data Structures:

  • Array
  • Linked List (Singly/Doubly/Circular)
  • Stack
  • Queue (Simple/Priority/Circular)

Non-Linear Data Structures:

  • Tree (Binary Tree, Binary Search Tree, AVL Tree, etc.)
  • Graph (Directed/Undirected, Matrix/List)

Hash-based:

  • Hash Table / Hash Map

Advanced:

  • Heap
  • Tries
  • Disjoint Set (Union-Find)

Each structure is stored in its own folder with explanations and code.


Getting Started

# Clone the repo
git clone https://github.com/your-username/your-ds-repo.git

# Change to the project directory
cd your-ds-repo

# Open in preferred editor
code .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published