← Zomato questions
CodingReported in a candidate post, Jul 2025

Find the element that appears once when all others appear twice

Filed under Zomato

Given a non-empty integer array in which every element appears exactly twice except one, find the element that appears only once. Aim for linear time and constant extra space.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zomato questions

Collected from public candidate posts and coding forums. Updated Nov 2026.