Search⌘ K
AI Features

Solution: Kth Missing Positive Number

Solution: Kth Missing Positive Number gives a strictly increasing array of positive integers and asks you to return the kth positive integer absent from the array.

Statement

Given a strictly increasing array arr of positive integers and a positive integer k, return the kthk^{th} ...