@data-structure/heapq
v4.0.2
Published
Python's heap and priority queue library for JavaScript
Downloads
61
Readme
:vertical_traffic_light: @data-structure/heapq
Python's heap and priority queue library for JavaScript. Parents are js-data-structures and @heap-data-structure.
import {
heapify ,
heappop ,
heappush ,
heappushpop ,
heapreplace ,
merge ,
nlargest ,
nsmallest ,
} from '@data-structure/heapq' ;