day23

package
v0.0.0-...-38c8f7e Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1(digits []int) string

func Part2

func Part2(digits []int) (int, error)

Types

type Cups

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

func NewCups

func NewCups(in []int) *Cups

func (*Cups) Move

func (c *Cups) Move()

func (*Cups) PushBack

func (c *Cups) PushBack(n int) error

func (*Cups) ResultInt

func (c *Cups) ResultInt() int

func (*Cups) ResultString

func (c *Cups) ResultString() string

func (*Cups) String

func (c *Cups) String() string

Jump to

Keyboard shortcuts

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