_895_maximum_frequency_stack

package
v0.0.0-...-4cd11fd Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FreqStack

type FreqStack struct {
	// contains filtered or unexported fields
}

func Constructor

func Constructor() FreqStack

func (*FreqStack) Pop

func (this *FreqStack) Pop() int

func (*FreqStack) Push

func (this *FreqStack) Push(x int)

type Item

type Item struct {
	// contains filtered or unexported fields
}

type ItemHeap

type ItemHeap []Item

func (ItemHeap) Len

func (s ItemHeap) Len() int

func (ItemHeap) Less

func (s ItemHeap) Less(i, j int) bool

func (*ItemHeap) Pop

func (s *ItemHeap) Pop() interface{}

func (*ItemHeap) Push

func (s *ItemHeap) Push(x interface{})

func (ItemHeap) Swap

func (s ItemHeap) Swap(i, j int)

Jump to

Keyboard shortcuts

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