Function to find the smallest subarray sum greater than or equal to target
static int smallSumSubset ( List < Integer > data , int target , int maxVal ) { int sum = 0 ; for ( Integer i : data ) sum += i ;