fourheap

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fix

func Fix(h Interface, i int)

func Init

func Init(h Interface)

func Pop

func Pop(h Interface) interface{}

func Push

func Push(h Interface, x interface{})

func Remove

func Remove(h Interface, i int) interface{}

Types

type Interface

type Interface interface {
	sort.Interface
	Push(interface{})
	Pop() interface{}
}

Jump to

Keyboard shortcuts

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