package
Version:
v0.6.0
Opens a new window with list of versions in this module.
Published: Aug 21, 2023
License: Apache-2.0
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 LFU(operators [][]int, k int) (ans []int)
设计 LFU 缓存结构
type Entry struct {
Key int
Val int
Freq int
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.