Find missing and duplicate elements in range [0, n-1]
Filed under Groww
The question
Given an array of size n with elements in range [0, n-1], identify all missing and duplicate numbers.
No write-up yet. Related questions below have one.
Related Groww questions
Collected from public candidate posts and coding forums. Updated Nov 2026.