puzzles

package
v0.0.0-...-bb4af41 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solve_part_1

func Solve_part_1() int

func Solve_part_2

func Solve_part_2() int

Types

type Graph

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

func NewGraph

func NewGraph(grid [][]int) Graph

type Point

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

type PriorityQueue

type PriorityQueue []*Vertex

func (PriorityQueue) Len

func (queue PriorityQueue) Len() int

func (PriorityQueue) Less

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

func (*PriorityQueue) Pop

func (queue *PriorityQueue) Pop() any

func (*PriorityQueue) Push

func (queue *PriorityQueue) Push(x any)

func (PriorityQueue) Swap

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

type Vertex

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

Jump to

Keyboard shortcuts

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