Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllOne ¶
type AllOne struct { }
func (*AllOne) Dec ¶
* Decrements an existing key by 1. If Key's value is 1, remove it from the data structure.
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func LRUConstructor ¶
type MinStack ¶
type MinStack struct {
// contains filtered or unexported fields
}
func MinStackConstructor ¶
func MinStackConstructor() MinStack
Click to show internal directories.
Click to hide internal directories.