Find missing numbers in an array
Filed under HashedIn
The question
Given an array of n-1 integers ranging from 1 to n with no duplicates, find the missing integer.
No write-up yet. Related questions below have one.
Related HashedIn questions
Collected from public candidate posts and coding forums. Updated Nov 2026.