package
module
Version:
v0.0.0-...-71312b2
Opens a new window with list of versions in this module.
Published: Feb 16, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
heap_sort
Stupid heap sort
Documentation
¶
Sort Return [k]interface top elements(𝑛 log𝑘)
func (pq *Queue) Pop() interface{}
func (pq *Queue) Push(x interface{})
type Ranked interface {
Rank() int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.