Dsa
Bit Manipulation
Easy
Find the Non-Repeated Element
Given a list of integers where every integer appears twice except for one, find the integer that appears only once.
Input:
- A single line containing space-separated integers. (1 <= integers <= 10^6, length = 1 to 2*10^6)
Output:
- Output the integer that appears only once.
Example:
Input:
2 3 5 4 5 3 4 7 2
Output:
7
Key concepts
bit_manipulationuniqueelements
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now