Sponsored
Use these hints if you're stuck. Try solving on your own first.
First define a function f(x) that counts the number of missing elements until x.
Then use binary search with the given function f(x) to find the kth missing element.
Solve with full IDE support and test cases