Find the smallest subarray with a sum greater than a given integer

Find the smallest subarray with a sum greater than a given integer - Coding Problem | K5kC