← Dream11 questions
CodingReported in a candidate post, May 2024

First Missing Positive

Filed under Dream11 · Also reported at UNcover Wellness

The question

Given an unsorted integer array nums, return the smallest positive integer that is missing from nums. The algorithm must run in O(n) time and O(1) auxiliary space.

No write-up yet. Related questions below have one.

Related Dream11 questions

Collected from public candidate posts and coding forums. Updated Nov 2026.