Given a sorted array A, size N, of integers; every element appears twice except for one. Find that element that appears once in array. The first line of input consists of T, the number of the test cases. T testcases follow. Each testcase contains two lines of input. The first line of each test case contains the size of the array, and the second line has the elements of the array. For each testcase, in a new line, print the number that appears only once in the array. 1 ≤ T ≤ 1001 ≤ N ≤ 1070 ≤ A[i] ≤ 10171 1 2 2 3 3 4 50 50 65 65If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.