_622_design_circular_queue

package
v0.0.0-...-4cd11fd Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 0 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(k int) MyCircularQueue

func (*MyCircularQueue) DeQueue

func (q *MyCircularQueue) DeQueue() bool

func (*MyCircularQueue) EnQueue

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

func (*MyCircularQueue) Front

func (q *MyCircularQueue) Front() int

func (*MyCircularQueue) IsEmpty

func (q *MyCircularQueue) IsEmpty() bool

func (*MyCircularQueue) IsFull

func (q *MyCircularQueue) IsFull() bool

func (*MyCircularQueue) Rear

func (q *MyCircularQueue) Rear() int

Jump to

Keyboard shortcuts

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