Skip to content

Commit 896361c

Browse files
committed
Completed changes as requested in the review
1 parent fbfc9f1 commit 896361c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dynamic Programming/CoinChange.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# https://leetcode.com/problems/coin-change/
22

3+
4+
# (Solution is given in Python 2)
5+
36
#### In the given problem , we are supposed to find minimum number of coins to get the sum equal to the amount given
47

58
#### For given example
@@ -38,6 +41,7 @@
3841
# In this case op[18] returns the minimum coins required to produce the sum 18
3942

4043

44+
4145
class Solution(object):
4246
def coinChange(self, coins, amount):
4347
"""

0 commit comments

Comments
 (0)