K-th Smallest Distinct Value — Coding Problem — CareerVerse