← All problemsSign in

Chef and numbers part 2

Chef has given you a array of numbers , In this array every numer appears 2 times except one. Your task is to find that exceptionla number. Input : First line contain number of t test cases , the next following t-lines contains N - number of elements next line contain n spaced numbers Output : For each test case print the exceptional number in new line. Constraints: 1 T n a[i] Exa

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start