lib

package
v0.0.0-...-b02a3d0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(val int) int

func FindMinimum

func FindMinimum(a []int) int

func GCD

func GCD(a, b int) int

greatest common divisor (GCD) via Euclidean algorithm

func LCM

func LCM(a, b int, integers ...int) int

find Least Common Multiple (LCM) via GCD

func Permutations

func Permutations(arr []int) [][]int

func RunProgramDay2

func RunProgramDay2(program []int) int

func RunProgramDay5

func RunProgramDay5(program []int) int

func RunProgramDay7

func RunProgramDay7(program []int) int

Types

This section is empty.

Jump to

Keyboard shortcuts

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