interview-coding-problems icon indicating copy to clipboard operation
interview-coding-problems copied to clipboard

error

Open rajat1433 opened this issue 5 years ago • 2 comments

For this

int denominations[] = {1, 5, 10, 25}; vector counts = getMaxCoins(50, 1, 0, 4, 2); code is showing wrong result

Max wastage for $10 will be 4 not 3 ;)

rajat1433 avatar Jul 27 '19 07:07 rajat1433

which problem?

kaushal02 avatar Jul 28 '19 08:07 kaushal02

https://github.com/kaushal02/interview-coding-problems/blob/master/maxCoins.cpp

rajat1433 avatar Aug 31 '19 10:08 rajat1433