Kth Missing Positive Number
Given a sorted array of distinct positive integers and k, print the k-th positive integer that is missing from the array.
Constraints
1 <= n <= 1000 1 <= k <= 1000
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.