@ende/data-structures/binary-heap

ende add jsr:@ende/data-structures

Version 2026.10.15 on JSR.

Exports

  • BinaryHeap — A priority queue implemented with a binary heap. The heap is in descending order by default, using JavaScript's built-in comparison operators to sort the values.