This question evaluates a candidate's skill in array algorithms and in-place algorithm design, emphasizing understanding of time and space complexity and handling edge cases when identifying the smallest missing positive integer.
LeetCode-style algorithm phone interview
Implement a function that returns the smallest missing positive integer in an unsorted integer array in O(n) time and O(
Use index placement/cyclic sort to achieve constant extra space.