Commit 871dfaf6 authored by yaozc's avatar yaozc
Browse files

keep going

parent d9548ae3
......@@ -1683,6 +1683,21 @@ public:
Coin Change
class Solution {
public:
int coinChange(vector<int>& coins, int amount) {
if (amount == 0) return 0;
vector<int> table(amount+1, INT_MAX);
table[0] = 0;
for(int i=0; i<table.size(); i++){
}
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment