day05

package
v0.0.0-...-c598fa5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1() string

func Part2

func Part2() string

Types

type Range

type Range struct {
	Start  int
	Length int
}

func (Range) End

func (r Range) End() int

func (Range) Includes

func (r Range) Includes(point int) bool

func (Range) Overlaps

func (r1 Range) Overlaps(r2 Range) bool

func (Range) Transform

func (r Range) Transform(offset, length int) Range

type RangePair

type RangePair struct {
	Dest Range
	Src  Range
}

Jump to

Keyboard shortcuts

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