← Qualcomm questions
CodingMediumReported in a candidate post, Jan 2026

Find the missing and repeating number from 1 to n

Filed under Qualcomm

You are given an unsorted array of size n containing numbers from 1 to n. One number is duplicated and one number is missing. Find both 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 Qualcomm questions

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