Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A comprehensive JavaScript library that provides robust implementations of essential data structures and algorithms, offering developers powerful tools for efficient coding and problem-solving.

NotificationsYou must be signed in to change notification settings

AjmalDevala/DataStructure_js

Repository files navigation

📚 Overview

A comprehensive JavaScript library implementing fundamental data structures and algorithms, designed to provide efficient and reusable solutions for developers.

🚀 Features

Data Structures

  • 📊 Arrays
  • 🌳 Trees
    • Binary Tree
    • Binary Search Tree
    • AVL Tree
    • Red-Black Tree
  • 📦 Stacks
  • 📮 Queues
    • Standard Queue
    • Priority Queue
    • Circular Queue
  • 🔗 Linked Lists
    • Singly Linked List
    • Doubly Linked List
    • Circular Linked List
  • 🕸️ Graphs
    • Adjacency List
    • Adjacency Matrix
  • 🗺️ Hash Tables
  • 🌲 Heaps
    • Min Heap
    • Max Heap

Algorithms

  • 🔍 Searching
    • Linear Search
    • Binary Search
  • 🔢 Sorting
    • Bubble Sort
    • Quick Sort
    • Merge Sort
    • Insertion Sort
  • 🗺️ Graph Algorithms
    • Dijkstra's Shortest Path
    • Breadth-First Search
    • Depth-First Search
  • 🌳 Tree Traversals
    • In-order
    • Pre-order
    • Post-order

🛠 Installation

# Clone the repositorygit clone https://github.com/AjmalDevala/DataStructure_js.git# Navigate to project directorycd DataStructure-js# Install dependenciesnpm install

💻 Usage Example

// Create a Binary Search Treeconstbst=newBinarySearchTree();bst.insert(10);bst.insert(5);bst.insert(15);// Perform operationsconsole.log(bst.search(5));// Returns the nodebst.delete(10);

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

👤 Author

Ajmal Devala 👨‍💻

LinkedInGitHubEmail

📄 License

Distributed under the MIT License. SeeLICENSE for more information.

About

A comprehensive JavaScript library that provides robust implementations of essential data structures and algorithms, offering developers powerful tools for efficient coding and problem-solving.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp