Coding Challenge · BEGINNER
Given an unsorted array of integers, find the smallest missing positive integer. The array may contain duplicates and negative numbers, but you should only consider positive integers starting from 1. Your task is to return the smallest missing positive integer from the array.