Find the k-th missing positive integer from a sorted array efficiently.
Constraints
Example
>>> find_kth_missing([2,3,4,7,11], 5) 9 >>> find_kth_missing([1,2,3,4], 2) 6 >>> find_kth_missing([5,6,7], 1) 1 >>> find_kth_missing([], 3) 3
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints