Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KthLargest ¶
type KthLargest struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor(k int, nums []int) KthLargest
func (*KthLargest) Add ¶
func (this *KthLargest) Add(val int) int
func (*KthLargest) Len ¶
func (k *KthLargest) Len() int
func (*KthLargest) Pop ¶
func (k *KthLargest) Pop() interface{}
func (*KthLargest) Push ¶
func (k *KthLargest) Push(x interface{})
func (*KthLargest) Swap ¶
func (k *KthLargest) Swap(i int, j int)
Click to show internal directories.
Click to hide internal directories.