First line of input contains T - number of test cases. Its followed by 2T lines, the first line contains N - the size of the array and second line contains the elements of the array. For each test ...
You are given an array of size N containing integers. Find the size of the largest subarray that can be rearranged to form a continguous sequence. A continguous sequence means that the difference of ...