day8

package
v0.0.0-...-b64f895 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Day8

func Day8()

func MakeCharSet

func MakeCharSet(s string) mapset.Set

func SortString

func SortString(w string) string

func Sum

func Sum(numbers ...int) int

Types

type Entry

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

func (Entry) DecipherSignals

func (e Entry) DecipherSignals() []Signal

func (Entry) GetOutputDigitFrequencies

func (e Entry) GetOutputDigitFrequencies() []int

func (Entry) TranslateOutput

func (e Entry) TranslateOutput(signals []Signal) int

type Signal

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

Jump to

Keyboard shortcuts

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