DIY: Kth Missing Positive Number
Solve the interview question "Kth Missing Positive Number" in this lesson.
We'll cover the following...
Problem statement
You are given an array, arr
, of positive integers only and an integer, k
. The array is sorted in a strictly increasing order. Your task is to find the kth
positive integer that is missing from ...