Documentation
¶
Overview ¶
Package day01 contains code relating to AOC day01 of 2024
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFile ¶
func ParseFile(filename string) (LocationIDList, LocationIDList)
ParseFile parses puzzle input
Types ¶
type LocationIDList ¶
type LocationIDList []int
LocationIDList represents a list of LocationID
func (LocationIDList) DifferenceScore ¶
func (lst LocationIDList) DifferenceScore(other LocationIDList) int
DifferenceScore computes the DifferenceScore between 2 lists
func (LocationIDList) SimilarityScore ¶
func (lst LocationIDList) SimilarityScore(other LocationIDList) int
SimilarityScore computes SimilarityScore between 2 lists
Click to show internal directories.
Click to hide internal directories.