โ† Oracle questions

Find missing and repeating element in 1 to N array

Filed under Oracle

Given an array of size N containing numbers from 1 to N, one number is missing and one appears twice. Find both in O(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 Oracle questions

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