Projects
View on GitHub
LukeLin/js-stl
About
Data structures implemented in JS
Learning & EducationMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originaljs-stl
Classic and high performance data structures implemented in javascript.
- npm i
- npm run build // for production build
- npm run build:dev // for development build
- babel-node ./src/xx.js // run xx.js
- npm run build:es5 // for node server build
- npm test // run tests
Directory
Array
Binary Tree
Generalized List
Graph
List
Queue
Stack
String
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
Sort
-
- straightInsertSort
- binaryInsertSort
- path2InsertSort
- staticLinkedListInsertSort
- shellSort
-
- bubbleSort
- bubbleSort2
- cockTailSort
- cockTailSort2
- quickSortRecursive
- quickSortRecursive2
- quickSortNonRecursive
- quickSort
- oddEvenSort
-
- simpleSelectionSort
- heapSort
-
- mergeSortRecursive
- mergeSortNonRecursive
- natureMergeSort
- naturalMergeSort
- linkedListNaturalMergeSort
-
- countSort
- radixSort
- bucketSort
-
Explore related projects
Loading…