package
0.0.0-20241211095808-1f5627bbfe11
Repository: https://github.com/muer/adventofcode.go.git
Documentation: pkg.go.dev
# Functions
NewMaxHeap initializes a heap with a closerToRootFunction that simply returns true if the first arg is larger than the second.
NewMinHeap initializes a heap with a closerToRootFunction that simply returns true if the first arg is smaller than the second.
# Interfaces
HeapNode is an interface making the type for a Min/MaxHeap node flexible nodes must be be able to state their value to be sorted by.