if the sum is less than all the elements of array should be considered or not ???
Arrays-Target Sum Pairs
No, no need to consider that case, the sum will either be equal or greater than the array elements.
if the sum is less than all the elements of array should be considered or not ???
No, no need to consider that case, the sum will either be equal or greater than the array elements.