Topic: Two Pointer Problem / Level: beginner

Problem: Find the k-th smallest distinct element in a sorted array using two pointers.

Run the code to see the output here...