diff --git a/DynamicProgramming/MinimumSumPartition.java b/DynamicProgramming/MinimumSumPartition.java index 9cbfe7ec..18668e73 100644 --- a/DynamicProgramming/MinimumSumPartition.java +++ b/DynamicProgramming/MinimumSumPartition.java @@ -41,6 +41,7 @@ public class MinimumSumPartition min = Math.min(min,(sum-2*ans[i])); System.out.println(min); } + sc.close(); } static int[] subset(int arr[],int sum) {