queue

package
v0.0.0-...-a119377 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PlayCircularPetrolPump

func PlayCircularPetrolPump()

func PlayFindFirstNonRepeatingChar

func PlayFindFirstNonRepeatingChar()

func PlayFindLongestSubstring

func PlayFindLongestSubstring()

func PlayFirstNegNumWin

func PlayFirstNegNumWin()

func PlayQueue

func PlayQueue()

func PlayRotOranges

func PlayRotOranges()

Types

type Queue

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

func (*Queue) Add

func (q *Queue) Add(data interface{})

func (*Queue) Display

func (q *Queue) Display()

func (*Queue) Remove

func (q *Queue) Remove() interface{}

func (*Queue) Size

func (q *Queue) Size() int

Jump to

Keyboard shortcuts

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