heap

package
v0.0.0-...-4056b1e Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(heap Myheaper)

func Pop

func Pop(heap Myheaper) any

func Push

func Push(heap Myheaper, item any)

Types

type Myheaper

type Myheaper interface {
	Len() int
	Swap(int, int)
	Less(int, int) bool
	Push(any)
	Pop() any
}

Jump to

Keyboard shortcuts

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