Search⌘ K
AI Features

Kth Missing Positive Number

Kth Missing Positive Number gives a strictly increasing array of positive integers and a positive integer k. Return the k-th positive integer that does not appear in the array.

Statement

Given a strictly increasing array arr of positive integers and a positive integer k, return the ...