Fix coin change (#2571) · Ilgrim/Algorithms-Python@46af42d · GitHub
Skip to content

Commit 46af42d

Browse files
Fix coin change (TheAlgorithms#2571)
* Removed unused variable m. * Doctests are modified to match functions. * Added condition for negative values. * Fixed white-space around operator. * Fixed W293 blank line contains white-space error. * Update dynamic_programming/coin_change.py Co-authored-by: Tapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com> * Fixed error in code. * Fixed whited spacing. * Fixed PEP8 error. * Added more test cases for coin change problem. * Removed extra test for negetive value. Co-authored-by: Tapajyoti Bose <44058757+ruppysuppy@users.noreply.github.com>
1 parent 04fae4d commit 46af42d

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

dynamic_programming/coin_change.py

Lines changed: 10 additions & 7 deletions

0 commit comments

Comments
 (0)