Problem Statement (Asked By Stripe) You are given an array of integers. Your task is to find the smallest missing…