TITLE:-
Find the Unique Element
PROBLEM:-
Given an integer array of size 2N + 1. In this given array, N numbers are present twice and one number is present only once in the array.
You need to find and return that number which is unique in the array.
Note : Given array will always contain odd number of elements.
Input format :
Output Format :
Constraints :
1 <= N <= 10^6
Sample Input :
Sample Output :
If you have any doubts then please let me know... ConversionConversion EmoticonEmoticon