Dedupe Sorted Turnstile-Log Chain — Coding Problem — CareerVerse