Daily challenge for 2025-01-10
10. First Missing Positive
Write a function solve that finds the first missing positive integer given an unsorted list. That is, the smallest positive integer not in the list.
Example:Input: [3,4,-1,1]Output: 2
Run this challenge interactively in Python or JavaScript when the app loads.