design_circular_deque

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 MyCircularDeque

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

func Constructor

func Constructor(capacity int) MyCircularDeque

func (*MyCircularDeque) DeleteFront

func (d *MyCircularDeque) DeleteFront() bool

func (*MyCircularDeque) DeleteLast

func (d *MyCircularDeque) DeleteLast() bool

func (*MyCircularDeque) GetFront

func (d *MyCircularDeque) GetFront() int

func (*MyCircularDeque) GetRear

func (d *MyCircularDeque) GetRear() int

func (*MyCircularDeque) InsertFront

func (d *MyCircularDeque) InsertFront(value int) bool

func (*MyCircularDeque) InsertLast

func (d *MyCircularDeque) InsertLast(value int) bool

func (*MyCircularDeque) IsEmpty

func (d *MyCircularDeque) IsEmpty() bool

func (*MyCircularDeque) IsFull

func (d *MyCircularDeque) IsFull() bool

Jump to

Keyboard shortcuts

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