Codingmedium
Missing element in sorted array
Filed under UBS
The question
Given a sorted array containing elements from 1 to n with one element missing, find the missing element.
No write-up yet. Related questions below have one.
Related UBS questions
Collected from public candidate posts and coding forums. Updated Nov 2026.