We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5674b commit d55d0f7Copy full SHA for d55d0f7
coin-change/minji-go.java
@@ -2,8 +2,8 @@
2
Problem: https://leetcode.com/problems/coin-change/
3
Description: return the fewest number of coins that you need to make up that amount
4
Concept: Array, Dynamic Programming, Breadth-First Search
5
- Time Complexity: O(N²), Runtime 15ms - N is the amount
6
- Space Complexity: O(N), Memory 44.28MB
+ Time Complexity: O(NM), Runtime 15ms - M is the amount
+ Space Complexity: O(M), Memory 44.28MB
7
*/
8
class Solution {
9
public int coinChange(int[] coins, int amount) {
0 commit comments