Find minimum number of coins that make a given value: Difference between revisions

m
(→‎{{header|Haskell}}: Allowed for denomination lists which are ill-sorted or incomplete.)
Line 120:
| otherwise = Left "Incomplete denominations - lacks 1"
where
go [] n = []
go _ 0 = []
go (x : xs) n
9,655

edits