CodingMedium/Hard
Find the smallest positive integer missing from an array
Filed under Sumologic
The question
Given an array of numbers, find the smallest positive integer that is not present in the array, running in O(n) time.
No write-up yet. Related questions below have one.
Related Sumologic questions
Collected from public candidate posts and coding forums. Updated Nov 2026.