Find missing number in array of size n with numbers 1 to n+1
Filed under PayU
The question
Given an array of integers of size n containing numbers from 1 to n+1, find the missing number with at least two solutions expected.
No write-up yet. Related questions below have one.
Related PayU questions
Collected from public candidate posts and coding forums. Updated Nov 2026.