solutions

package
v0.0.0-...-2557c80 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(b Block) []byte

func PrintDirTree

func PrintDirTree(dir *File, depth int)

func Reverse

func Reverse(s []string) []string

func Solution_01_1

func Solution_01_1() int

func Solution_01_2

func Solution_01_2() int

func Solution_02_1

func Solution_02_1() int

func Solution_02_2

func Solution_02_2() int

func Solution_03_1

func Solution_03_1() int

func Solution_03_2

func Solution_03_2() int

func Solution_04_1

func Solution_04_1() int

func Solution_04_2

func Solution_04_2() int

func Solution_05_1

func Solution_05_1() string

func Solution_05_2

func Solution_05_2() string

func Solution_06_1

func Solution_06_1() int

func Solution_06_2

func Solution_06_2() int

func Solution_07_1

func Solution_07_1() int

func Solution_07_2

func Solution_07_2() int

func Solution_08_1

func Solution_08_1() int

func Solution_08_2

func Solution_08_2() int

func Solution_09_1

func Solution_09_1() int

func Solution_09_2

func Solution_09_2() int

func Solution_10_1

func Solution_10_1() int

func Solution_10_2

func Solution_10_2() string

func Solution_11_1

func Solution_11_1() int

func Solution_11_2

func Solution_11_2() int

func Solution_12_1

func Solution_12_1() int

func Solution_12_2

func Solution_12_2() int

func Solution_13_1

func Solution_13_1() int

func Solution_13_2

func Solution_13_2() int

func Solution_14_1

func Solution_14_1() int

func Solution_14_2

func Solution_14_2() int

func Solution_15_1

func Solution_15_1() int

func Solution_15_2

func Solution_15_2() int

func Solution_16_1

func Solution_16_1() int

Types

type Block

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

type File

type File struct {
	Name     string
	Children []*File
	Parent   *File
	Size     int
	IsDir    bool
	Total    int
}

type PriorityMap

type PriorityMap map[rune]int

func (PriorityMap) String

func (m PriorityMap) String() string

type PuzzleInput

type PuzzleInput string

type PuzzleInputSlice

type PuzzleInputSlice []string

type RuneSlice

type RuneSlice []rune

func (RuneSlice) SplitChunks

func (s RuneSlice) SplitChunks(chunkSize int) ([]RuneSlice, error)

Jump to

Keyboard shortcuts

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