Skip to content

charto/cdata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdata

build status npm version

This is a library of generic and efficient data structures written in TypeScript. Currently only one is provided.

BinaryHeap

This is a classic binary heap with O(lon(n)) insert, delete-min and decrease-key (assuming a min-heap). The comparison function is user-provided to support a min-heap or max-heap of arbitrary items.

License

The MIT License

Copyright (c) 2017- BusFaster Ltd