Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
J

js-stl

> 编程语言
Open source

Data structures implemented in JS

737 stars0 likes1 views
WebsiteGitHub

About

Data structures implemented in JS

js-stl

Classic and high performance data structures implemented in javascript.

  1. npm i
  2. npm run build // for production build
  3. npm run build:dev // for development build
  4. babel-node ./src/xx.js // run xx.js
  5. npm run build:es5 // for node server build
  6. npm test // run tests

Directory

  • Array

    • CrossList
    • TSMatrix
    • algorithms
  • Binary Tree

    • BinaryTree
    • huffManCoding
    • backtracking
  • Generalized List

    • GList
  • Graph

    • AdjacencyListGraph
    • AdjacencyMatrixGraph
    • AMLGraph
    • OLGraph
  • List

    • LinkedList
    • LinearList
    • DoubleLinkedList
    • StaticLinkedList
    • LRUCache
    • SkipList
  • Queue

    • Queue
    • CycleQueue
    • PriorityQueue
  • Stack

    • Stack
  • String

    • HeapString
    • LString
    • SString
    • algorithms
  • Search

    • sequentialSearch
    • binarySearch
    • fibonacciSearch
    • SecondOptimalSearchTree
    • BinarySortedTree
    • AVLTree
    • RedBlackTree
    • BTree
    • B+Tree
    • DigitalSearchTree / DictionaryTree
      • DoubleLinkedTree
      • TrieTree
      • PatriciaTree todo
    • SuffixTree
    • HashTable
    • Treap todo
    • SplayTree todo
    • BitMap todo
    • Bloom Filter
    • ConsistentHash
  • Heap

    • Heap
  • Sort

    • insertion sort

      • straightInsertSort
      • binaryInsertSort
      • path2InsertSort
      • staticLinkedListInsertSort
      • shellSort
    • exchange sort

      • bubbleSort
      • bubbleSort2
      • cockTailSort
      • cockTailSort2
      • quickSortRecursive
      • quickSortRecursive2
      • quickSortNonRecursive
      • quickSort
      • oddEvenSort
    • selection sort

      • simpleSelectionSort
      • heapSort
    • merge sort

      • mergeSortRecursive
      • mergeSortNonRecursive
      • natureMergeSort
      • naturalMergeSort
      • linkedListNaturalMergeSort
    • distribution sort

      • countSort
      • radixSort
      • bucketSort

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptdata-structures

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言