challenge

package
v0.0.0-...-7c9e8ac Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PartOne

func PartOne(instr string) int

func PartTwo

func PartTwo(instr string) int

Types

type Adaptor

type Adaptor struct {
	Output   int
	MinInput int
	MaxInput int
}

func NewAdaptor

func NewAdaptor(outputJoltage int) Adaptor

func (Adaptor) IsCompatible

func (a Adaptor) IsCompatible(inputJoltage int) bool

Jump to

Keyboard shortcuts

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