package
Version:
v0.0.0-...-830326e
Opens a new window with list of versions in this module.
Published: Oct 17, 2023
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.
Documentation
¶
func (h *MaxHeap) Pop() interface{}
func (h *MaxHeap) Push(x interface{})
type WordCount struct {
Word string
Count int
}
PopKLargestWordCounts pops k largest word counts from maxHeap
Source Files
¶
Click to show internal directories.
Click to hide internal directories.