queue

package
v0.0.0-...-c3db47b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

type Queue

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

func (*Queue) Dequeue

func (queue *Queue) Dequeue() (int, bool)

func (*Queue) Enqueue

func (queue *Queue) Enqueue(d int)

func (*Queue) IsEmpty

func (queue *Queue) IsEmpty() bool

func (*Queue) Peek

func (queue *Queue) Peek() (int, bool)

func (*Queue) Print

func (queue *Queue) Print()

Jump to

Keyboard shortcuts

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