+ 1
In array
Find Unique Send Feedback 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 : Line 1 : Array size i.e. 2N+1 Line 2 : Array elements (separated by space) Output Format : Unique element present in the array Constraints : 1 <= N <= 10^3 Sample Input : 7 2 3 1 6 3 6 2 Sample Output : 1
13 Answers
+ 4
my try
https://code.sololearn.com/c7XQm5TmOxHE/?ref=app
it is up to you but in my opinion there is nothing worse than reading the code before trying exhausted
+ 4
where is the error
+ 4
I didn't understand
+ 3
hi, the rule is that you first should do a try until you stuck. Then show this try here and you will get support.
+ 1
What ?
+ 1
In which language should be this program?
+ 1
In java
+ 1
There is a error friend and yes I tried a lot
+ 1
This is for the first time that I have posted next I will upload the code
0
Can you write it's code
0
Output is coming 2 as per your input