Skip to content

Commit 614c349

Browse files
authored
Merge pull request kdn251#55 from abagasra98/patch-1
Fix small typo in README.md
2 parents 59d11a4 + c1b3b4c commit 614c349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ or equal to those of the children and the lowest key is in the root node
282282
* Given a target amount V cents and a list of denominations of n coins, i.e. we have coinValue[i] (in cents) for coin types i from [0...n - 1],
283283
what is the minimum number of coins that we must use to represent amount V? Assume that we have an unlimited supply of coins of any type
284284
* Coins - Penny (1 cent), Nickel (5 cents), Dime (10 cents), Quarter (25 cents)
285-
* Assume V = 43. We can use the Greedy algorithm of continuously selecting the largest coin denomination less than or equal to V, subtract that
285+
* Assume V = 41. We can use the Greedy algorithm of continuously selecting the largest coin denomination less than or equal to V, subtract that
286286
coin's value from V, and repeat.
287287
* V = 41 | 0 coins used
288288
* V = 16 | 1 coin used (41 - 25 = 16)

0 commit comments

Comments
 (0)