Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
import * as masx200LeetcodeTest from "https://deno.land/x/masx200_leetcode_test@7.7.0/kth-largest-element-in-a-stream/PriorityQueue.ts";

Functions

comparator Function used to determine the order of the elements. It is expected to return a negative value if the head argument is less than the second argument, zero if they're equal, and a positive value otherwise.