Given an unsorted integer array, return the smallest positive integer that does not appear in it. Run in O(n) time using O(1) extra space.
Practise this challenge
All coding challenges