heap-js

esm
Efficient Binary heap (priority queue, binary tree) data structure for JavaScript / TypeScript. Includes JavaScript methods, Python's heapq module methods, and Java's PriorityQueue methods.
Version 2.6.0 License BSD-3-Clause
Keywords
heapbinary heappriority queuetreebinary treedata structurealgorithmtypescript
<script type="module"> import heapJs from 'https://cdn.jsdelivr.net/npm/heap-js@2.6.0/+esm' </script>
Selected files