GBL interview question

Given an unsorted integer array nums, return the smallest missing positive integer.