import * as easyts from "https://deno.land/x/easyts@0.1.3/container/mod.ts";
Classes
The base class of the container implements some common methods for the container | |
c Heap | |
c List | Doubly linked list. Refer to the golang standard library implementation |
linked list element | |
A queue implemented using fixed-length arrays |
Functions
f fix | Fix re-establishes the heap ordering after the element at index i has changed its value. |
Initialize array to heap | |
f pop | Pop removes and returns the minimum element (according to cf or <) from the heap. |
f push | Push pushes the element x onto the heap. |
Remove removes and returns the element at index i from the heap. |
Interfaces
container interface | |
Container Creation Options |