Find the Smallest Subarray with Sum Greater than X

Given a list and a number X, find the smallest subarray with a sum greater than X.

[1, 4, 45, 6, 0, 19]
51
Total : 0 Discussion
Login