Skip to content

gilomer/priority-queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Priority Queue implementation for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages