Skip to content

Commit d4e93c2

Browse files
committed
fix
1 parent e791751 commit d4e93c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public static boolean subsetSum(int[] arr, int sum) {
4141
*/
4242
public static boolean isSubsetSum(int[] arr, int sum) {
4343
int n = arr.length;
44-
4544
// Declare the boolean array with size sum + 1
4645
boolean[] dp = new boolean[sum + 1];
4746

0 commit comments

Comments
 (0)