Mangabi Data Structures
Set of useful data structures used at Mangabi
Priority Queue
Usage
const q = Objectqqqq // 3q // 2q // 1
Comparator
The default comparator sorts by the alphanumeric Object.toString()
value, but
a new comparator can be swapped in using q.comparator = ...
q { return alength < blength}