โ† OYO questions

Find single non-paired value in sorted array

Filed under OYO

Given a sorted array where all elements appear exactly twice except for one element which appears once, find the single element in O(log n) time and O(1) 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 OYO questions

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