queue

package
v0.0.0-...-2a093ab Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fab

func Fab(n int) int

func Reverse

func Reverse(s *stack.Stack)

Types

type Queue

type Queue struct {
	stack.Stack
	// contains filtered or unexported fields
}

func NewQueue

func NewQueue() *Queue

func (*Queue) Add

func (q *Queue) Add(d int)

func (*Queue) Peek

func (q *Queue) Peek()

func (*Queue) Poll

func (q *Queue) Poll()

func (*Queue) Print

func (q *Queue) Print()

Jump to

Keyboard shortcuts

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