Sensor Drift Kth Smallest Gap — Coding Problem — CareerVerse