Module

std/collections/binary_heap.ts

Deno standard library
Go to Latest
import * as mod from "https://dotland.deno.dev/std@0.181.0/collections/binary_heap.ts";

Classes

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.

Functions

Compares its two arguments for ascending order using JavaScript's built in comparison operators.

Compares its two arguments for descending order using JavaScript's built in comparison operators.