day384

package
v0.0.0-...-36687a4 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const MaxInt = int(^uint(0) >> 1)

MaxInt is the largest possible int.

Variables

This section is empty.

Functions

func FewestCoinsBrute

func FewestCoinsBrute(denom []int, target int) (int, error)

FewestCoinsBrute returns the fewest required coins to make target in change. Returns an error if it's not possible.

Types

This section is empty.

Jump to

Keyboard shortcuts

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