File tree 2 files changed +5
-5
lines changed
main/java/com/thealgorithms/dynamicprogramming
test/java/com/thealgorithms/dynamicprogramming 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,4 +47,4 @@ public static int sherlockAndCostProblem(List<Integer> list) {
47
47
48
48
return Math .max (dp [N - 1 ][0 ], dp [N - 1 ][1 ]);
49
49
}
50
- }
50
+ }
Original file line number Diff line number Diff line change 1
1
package com .thealgorithms .dynamicprogramming ;
2
2
3
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
4
+ import static org .junit .jupiter .api .Assertions .assertThrows ;
5
+
3
6
import java .util .Arrays ;
4
7
import java .util .List ;
5
-
6
8
import org .junit .jupiter .api .Test ;
7
9
8
- import static org .junit .jupiter .api .Assertions .assertEquals ;
9
- import static org .junit .jupiter .api .Assertions .assertThrows ;
10
10
11
11
public class SherLockAndCostTest {
12
12
@@ -57,4 +57,4 @@ public void testSingleFList() {
57
57
int result = SherLockAndCost .sherlockAndCostProblem (list );
58
58
assertEquals (0 , result );
59
59
}
60
- }
60
+ }
You can’t perform that action at this time.
0 commit comments