Skip to content

Commit 2dce946

Browse files
authored
style: remove redundant blank line
This should fix the clang-format error.
1 parent 58c7a78 commit 2dce946

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/thealgorithms/dynamicprogramming/KnapsackMemoization.java

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ int solveKnapsackRecursive(int capacity, int[] weights, int[] profits, int numOf
4343
// case 1. include the item, if it is less than the capacity
4444
int includeCurrentItem = profits[numOfItems - 1] + solveKnapsackRecursive(capacity - weights[numOfItems - 1], weights, profits, numOfItems - 1, dpTable);
4545

46-
4746
// case 2. exclude the item if it is more than the capacity
4847
int excludeCurrentItem = solveKnapsackRecursive(capacity, weights, profits, numOfItems - 1, dpTable);
4948

0 commit comments

Comments
 (0)