int m = 5; // size of array 1. By this m, we don't have to do "arr1.length" everywhere for usimg array 1 length, just use m in place of arr1.length ...
The first line of input contains T - number of test cases. It is followed by 2T lines. First line of each test case contains N - size of the array and the second line contains N integers - elements of ...