package
0.0.0-20240915143629-af7e6db15e88
Repository: https://github.com/erikbryant/project-euler.git
Documentation: pkg.go.dev

# Functions

MaxDisplayCost calculates the power consumed to transition from an 'initial' display state to the 'next' display state turning on/off only those segments that change.
SamDisplayCost calculates the power consumed to transition from a blank display to displaying 'next' and back to a blank display.

# Variables

DigitCosts is the count of the number of segments in that digital number.
TransitionCosts is the cost to switch the display from one digit to the other digit using Max's least-cost method.