Write a function to find the smallest positive integer missing from an unsorted list of numbers.
HardProblem Statement
Write a function to find the smallest positive integer missing from an unsorted list of numbers.
Sample Input
[3, 4, -1, 1]
Sample Output
2
Limits
Time: 2s · Memory: 256 MB