day08

package
v0.0.0-...-acf6961 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1(entries []Entry) int

func Part2

func Part2(entries []Entry) (int, error)

Types

type Entry

type Entry struct {
	Patterns     []string
	OutputDigits []string
}

func ParseEntries

func ParseEntries(in []string) ([]Entry, error)

func (*Entry) Solve

func (e *Entry) Solve() (int, error)

Jump to

Keyboard shortcuts

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