queue

package module
v0.0.0-...-e077229 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data int

type Node

type Node struct {
	Next  *Node
	Value Data
}

type Queue

type Queue interface {
	Enqueue(obj Data)
	Dequeue() Data
	IsEmpty() bool
	Size() int
	Iterate() <-chan Data
}

func NewQueueLinkedList

func NewQueueLinkedList() Queue

Jump to

Keyboard shortcuts

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