design_circular_queue

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MyCircularQueue

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

func Constructor

func Constructor(capacity int) MyCircularQueue

func (*MyCircularQueue) DeQueue

func (d *MyCircularQueue) DeQueue() bool

func (*MyCircularQueue) EnQueue

func (d *MyCircularQueue) EnQueue(value int) bool

func (*MyCircularQueue) Front

func (d *MyCircularQueue) Front() int

func (*MyCircularQueue) IsEmpty

func (d *MyCircularQueue) IsEmpty() bool

func (*MyCircularQueue) IsFull

func (d *MyCircularQueue) IsFull() bool

func (*MyCircularQueue) Rear

func (d *MyCircularQueue) Rear() int

Jump to

Keyboard shortcuts

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