solutions

package
v0.0.0-...-88c8091 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintCoords

func PrintCoords(coords []Coords)

func PrintMatrix

func PrintMatrix(matrix [][]int)

func SolveDay1

func SolveDay1()

func SolveDay10

func SolveDay10()

func SolveDay11

func SolveDay11()

func SolveDay12

func SolveDay12()

func SolveDay13

func SolveDay13()

func SolveDay14

func SolveDay14()

func SolveDay15

func SolveDay15()

func SolveDay16

func SolveDay16()

func SolveDay17

func SolveDay17()

func SolveDay18

func SolveDay18()

func SolveDay19

func SolveDay19()

func SolveDay2

func SolveDay2()

func SolveDay20

func SolveDay20()

func SolveDay21

func SolveDay21()

func SolveDay22

func SolveDay22()

func SolveDay23

func SolveDay23()

func SolveDay24

func SolveDay24()

func SolveDay25

func SolveDay25()

func SolveDay3

func SolveDay3()

func SolveDay4

func SolveDay4()

func SolveDay5

func SolveDay5()

func SolveDay6

func SolveDay6()

func SolveDay7

func SolveDay7()

func SolveDay8

func SolveDay8()

func SolveDay9

func SolveDay9()

Types

type Area3D

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

func (Area3D) Contains

func (area Area3D) Contains(other Area3D) bool

func (Area3D) Intersection

func (lhs Area3D) Intersection(rhs Area3D) Area3D

func (Area3D) IsEmpty

func (area Area3D) IsEmpty() bool

func (Area3D) Overlap

func (lhs Area3D) Overlap(rhs Area3D) []Area3D

type BinaryNode

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

func (*BinaryNode) Copy

func (orig *BinaryNode) Copy() *BinaryNode

func (*BinaryNode) Magnitude

func (node *BinaryNode) Magnitude() int

func (*BinaryNode) Reduce

func (node *BinaryNode) Reduce()

func (*BinaryNode) ToString

func (node *BinaryNode) ToString() string

type Board

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

type Coords

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

type DDie

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

type DiceResult

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

type Edge

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

type Entry

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

type Fold

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

type HexaReader

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

type Line

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

type Literal

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

type Movement

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

type Operator

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

type PQItem

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

type Point3D

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

func (*Point3D) AddConstant

func (p *Point3D) AddConstant(value int)

type PriorityQueue

type PriorityQueue []*PQItem

A PriorityQueue implements heap.Interface and holds Items.

func (PriorityQueue) Len

func (pq PriorityQueue) Len() int

func (PriorityQueue) Less

func (pq PriorityQueue) Less(i, j int) bool

func (*PriorityQueue) Pop

func (pq *PriorityQueue) Pop() interface{}

func (*PriorityQueue) Push

func (pq *PriorityQueue) Push(x interface{})

func (PriorityQueue) Swap

func (pq PriorityQueue) Swap(i, j int)

type Results

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

type State

type State [][]byte

type Target

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

type ValueIndex

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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