implementqueueusingstacks

package
v0.0.0-...-09e987a Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2024 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 MyQueue

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

func Constructor

func Constructor() MyQueue

func (*MyQueue) Empty

func (this *MyQueue) Empty() bool

func (*MyQueue) Peek

func (this *MyQueue) Peek() int

func (*MyQueue) Pop

func (this *MyQueue) Pop() int

func (*MyQueue) Push

func (this *MyQueue) Push(x int)

Jump to

Keyboard shortcuts

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