Nonconformist Propaganda Machine
Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

js-data-structs

1.1.0 • Public • Published

JS data structs

A small data structures library for JavaScript, also includes some algorithms.

Installing

npm package

npm i js-data-structs

CDN

https://cdn.jsdelivr.net/npm/js-data-structs/DataStructures.js

https://cdn.jsdelivr.net/npm/js-data-structs/DataStructures.min.js

Implemented Data structures/ Algos-

  • Trees
    • Binary Trees
    • Binary Search Trees
  • Stack
  • Queue
    • Priority Queue
  • Graph
    • BFS
    • DFS
    • Topological Sort
    • Dijkstra's Algorithm
  • Trie
  • Power set
  • Heap's algorithm (array permutations)
  • Linked List
  • Heap Sort
    • Max heap
    • Min heap
  • Z algorithm (pattern matching)
  • N Queens

Usage guide

Future features

  • Minified version

  • Linked List

    • Circular Linked List
    • Doubly Linked List
  • Heapsort

    • Max heap
    • Min heap
  • Suffix trees

  • More Graph algorithms

    • Topological Sort
    • Dijkstra's Algorithm

install

npm i js-data-structs

Downloadsweekly downloads

2

version

1.1.0

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability