day09

package
v0.0.0-...-9c9a4a3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Histories

type Histories []History

func ParseHistories

func ParseHistories(s string) Histories

func (Histories) SumExtrapolations

func (hs Histories) SumExtrapolations() int

func (Histories) SumExtrapolationsBack

func (hs Histories) SumExtrapolationsBack() int

type History

type History []int

func (History) Extrapolate

func (h History) Extrapolate() int

func (History) ExtrapolateBack

func (h History) ExtrapolateBack() int

func (History) Levels

func (h History) Levels() []History

func (History) PrintHistoryLevels

func (h History) PrintHistoryLevels()

Jump to

Keyboard shortcuts

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