leetcode_0703_kth_largest_element_in_a_stream

package
v0.0.0-...-9df3b80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KthLargest

type KthLargest struct {
	sort.IntSlice
	// 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) Pop

func (this *KthLargest) Pop() interface{}

func (*KthLargest) Push

func (this *KthLargest) Push(v interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL