The heap package implements a binary heap using Go generics that is easy to use with any type. See heap package for more details.
The heap package implements a binary heap using Go generics that is easy to use with any type. See heap package for more details.