#...Given a number x and an array of integers arr. #...Find the smallest subarray with sumgreater than the given value. #...If such a subarray does not exist, return 0.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case consists of two lines. The first line of each test case is N and S, where N is ...