Skip to content

Commit 73fb041

Browse files
committed
Sum_Of_Subset.java updated as per clang format
1 parent ee68586 commit 73fb041

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.thealgorithms.dynamicprogramming;
1+
package com.example.algo;
22

33
public class Sum_Of_Subset {
44

@@ -13,9 +13,9 @@ public static void main(String[] args) {
1313
}
1414
}
1515

16-
17-
private static boolean subsetSum(int[] arr, int n, int Key) {
16+
static boolean subsetSum(int[] arr, int n, int Key) {
1817
boolean[] prev = new boolean[Key + 1];
18+
1919
prev[0] = true;
2020

2121
if (arr[0] <= Key) {

0 commit comments

Comments
 (0)