implement_queue_using_stacks

package
v0.0.0-...-161f347 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: GPL-3.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 MyQueue

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

func Constructor

func Constructor() MyQueue

func (*MyQueue) Empty

func (q *MyQueue) Empty() bool

func (*MyQueue) Peek

func (q *MyQueue) Peek() int

func (*MyQueue) Pop

func (q *MyQueue) Pop() int

func (*MyQueue) Push

func (q *MyQueue) Push(x int)

Jump to

Keyboard shortcuts

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