day_12

package
v0.0.0-...-07010e4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1()

func Part2

func Part2()

Types

type Path

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

func NewPath

func NewPath(vs ...string) *Path

func (*Path) Append

func (p *Path) Append(v string)

func (*Path) Clone

func (p *Path) Clone() *Path

func (*Path) Count

func (p *Path) Count(v string) int

func (*Path) Format

func (p *Path) Format() string

func (*Path) Is

func (p *Path) Is(sl []string) bool

func (*Path) Last

func (p *Path) Last() string

type Set

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

func NewSet

func NewSet(ids ...string) *Set

func (*Set) Append

func (set *Set) Append(oset *Set)

func (*Set) Clone

func (set *Set) Clone() *Set

func (*Set) Contains

func (set *Set) Contains(id string) bool

func (*Set) Insert

func (set *Set) Insert(ids ...string)

func (*Set) Visit

func (set *Set) Visit(id string, count int)

func (*Set) VisitedCount

func (set *Set) VisitedCount(id string) int

func (*Set) Visits

func (set *Set) Visits() []*visit

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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