Sorted Turnstile Scan Distinct Count — Coding Problem — CareerVerse