Task: Find the Smallest Missing Positive Integer
Task: Find the Smallest Missing Positive Integer: a task in Terminal-Lego-15k (Harbor dataset). Write a program that finds the smallest positive integer (greater than 0) that does not occur in a given sequence of integers.
The task
Write a program that finds the smallest positive integer (greater than 0) that does not occur in a given sequence of integers.
Part of PrimeIntellect/Terminal-Lego-15k.