โ† Deloitte questions

Missing and Repeating element in an Array

Filed under Deloitte

Given an unsorted array of size n containing numbers from 1 to n, one number is duplicated and one number is missing. Find both the repeating and the missing elements.

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 Deloitte questions

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