Find the smallest positive integer that is not in an unsorted array — in O(n) time and O(1) extra space.
Find the smallest positive integer that is not in an unsorted array — in O(n) time and O(1) extra space.
The discussion opens with the full question.