jzoffer

package
v0.0.0-...-6c0d317 Latest Latest
Warning

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

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

Documentation

Overview

top k的问题首先应该想到用堆解决

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HP

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

func (HP) Len

func (h HP) Len() int

func (HP) Less

func (h HP) Less(i, j int) bool

func (*HP) Pop

func (h *HP) Pop() interface{}

func (*HP) Push

func (h *HP) Push(v interface{})

func (HP) Swap

func (h HP) Swap(i, j int)

Jump to

Keyboard shortcuts

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