22 lines
227 B
Go
22 lines
227 B
Go
package main
|
|
|
|
type ListNode struct {
|
|
Val int
|
|
Next *ListNode
|
|
}
|
|
|
|
type LRUCache struct {
|
|
}
|
|
|
|
func Constructor(capacity int) LRUCache {
|
|
return LRUCache{}
|
|
}
|
|
|
|
func (this *LRUCache) Get(key int) int {
|
|
return 0
|
|
}
|
|
|
|
func main() {
|
|
|
|
}
|