numBusesToDestination

package
v0.0.0-...-bd5f7e2 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 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 Queue

type Queue interface {
	Enqueue(val int)
	Dequeue() (val int, ok bool)
	Peek() (val int, ok bool)
	Size() int
	IsEmpty() bool
}

func NewQueue

func NewQueue() Queue

type Set

type Set interface {
	Add(val int)
	Del(val int)
	Populate(vals ...int)
	Contains(val int) (ok bool)
}

func NewSet

func NewSet() Set

Jump to

Keyboard shortcuts

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