Given an amount, and a Chip
class
that has a specified IChip.valueMap
,
return an IChip[]
that has a value to
match requested amount
The service should accept an IChipCollection
and
a requested specific amount of chip value, and be able to
"break" or "make change" to swap out chips to meet that
exact need. These chips are removed from the incoming
chipCollection
and the return value are chips that
match the needValue
requested.
Return sum of each IChip.getValue()
Generated using TypeDoc
Provides services for Chip management