Miss any of our Open RFC calls?Watch the recordings here! »

js-data-structs

1.1.2 • Public • Published

JS data structs

npm bundle size

A small data structures and algorithms library for JavaScript.

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
  • LZW
    • Encoding
    • Decoding
  • Fisher–Yates shuffle Algorithm

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
  • LZW

    • Encoding
    • Decoding

Install

npm i js-data-structs

DownloadsWeekly Downloads

283

Version

1.1.2

License

MIT

Unpacked Size

45.2 kB

Total Files

7

Last publish

Collaborators

  • avatar