...

>

Find the First K Missing Positive Numbers

Find the First K Missing Positive Numbers

Try to solve the Find the First K Missing Positive Numbers problem.

Statement

Given an unsorted integer array, arr, of size n and an integer k, find the first k missing positive integers from the array, ignoring all negative numbers ...