Skip to content

Commit 925941f

Browse files
committed
Added Detailed solutions will be given later.
1 parent 3a1fd89 commit 925941f

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

problems/0322-coin-change.md

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Constraints:
3333
## Thoughts
3434
It is a `Unbounded Knapsack Problem`.
3535

36+
Detailed solutions will be given later, and now only the best practices in 7 languages are given.
37+
3638
### Complexity
3739
* Time: `O(n * m)`.
3840
* Space: `O(n)`.

problems/0377-combination-sum-iv.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ All the elements of 'nums' are 'unique'.
4242
## Thoughts
4343
This is `Unbounded Knapsack Problem` A, and it also requires us to consider the sequences.
4444

45+
Detailed solutions will be given later, and now only the best practices in 7 languages are given.
46+
4547
### Complexity
4648
* Time: `O(n * m)`.
4749
* Space: `O(n)`.
@@ -127,7 +129,7 @@ public class Solution {
127129
var combinationSum4 = function(nums, target) {
128130
const dp = Array(target + 1).fill(0)
129131
dp[0] = 1
130-
132+
131133
for (let i = 1; i < dp.length; i++) {
132134
for (const num of nums) {
133135
if (i >= num) {

problems/0518-coin-change-ii.md

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ All the values of 'coins' are unique.
4848
## Thoughts
4949
It is a `Unbounded Knapsack Problem`.
5050

51+
Detailed solutions will be given later, and now only the best practices in 7 languages are given.
52+
5153
### Complexity
5254
* Time: `O(n * m)`.
5355
* Space: `O(n)`.

0 commit comments

Comments
 (0)