Smallest subarray with a sum greater than X

Medium

Given an array of integers and a number X, write a function to find the smallest subarray with a sum greater than the given value. If there isn't a possible subarray, return None....

Sign in to InterviewQs to view this question

Or

New to InterviewQs? Sign up now.

By proceeding, you agree to our Terms and Conditions and Privacy Policy.

Loading editor...