golang does not support generics so using the heap functionality from the container/heap
package requires some implementation of the heap.Interface
To run the test code
go run main.go
testing Golang heap from the container pkg
golang does not support generics so using the heap functionality from the container/heap
package requires some implementation of the heap.Interface
To run the test code
go run main.go
testing Golang heap from the container pkg