-1

Given a array of size 2n and in the array there are total of (n+1) unique integers, where n values are once and 1 element is repeated n times. Like the following:-
arr[] = {10,20,30,50,40,40,40,40};
here {10,20,30,50} are occurring once each and {40} is repeated n times, where n=4 and arr.size...