anoopmoothedath / go-coin-change

This is a sample program to implement the change management for a given set of denominations and amount.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-coin-change

This is a sample program to implement the change management for a given set of denominations and amount.

About

This program is mainly developed to test the coin change implementation. The program takes a set of denominations and an amount for which the change is to be made. The function coinChange will return the number of minCoins required to make the change and the optimal denominations which can be used for making the respective change.

How to run the program

The go-coin-change program can be executed using go run main.go.

About

This is a sample program to implement the change management for a given set of denominations and amount.


Languages

Language:Go 100.0%