Write a function that takes an integer array and returns the smallest missing positive number?
Login to Submit
Input: [2, 3, 5, 7, 6, 6, 7, 11, 3] Output: 1 Input: [4, 2, 4, 3, 4, 1] Output: 5 Input: [2, 2, 3, 9, 1, 8, 8] Output: 4