Given an array of positive integers and a positive integer x, find the minimal length of a contiguous subarray of which the sum is strictly greater than x. If there is no such subarray, return 0…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.