module
Version:
v0.0.0-...-ddfd91d
Opens a new window with list of versions in this module.
Published: Apr 16, 2022
License: MIT
Opens a new window with license information.
README
¶
Priority Queue
Simple priority queue implementation written in Go
Example
Use .new() to initialize a new priority queue.
The objects used in the queue should be from the same type, and need to implement Comparator inteface.
Use Push(...) to add new item to the queue, and Pop() to remove items from the queue.
See more examples in the test file
Directories
¶
Click to show internal directories.
Click to hide internal directories.