โ† Accolite questions

Find missing and repeating number in consecutive array

Filed under Accolite

Given an unsorted array of size n containing integers from 1 to n with one number missing and one number appearing twice, find both the missing and repeating numbers.

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

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