Distinct-Gap Frequency Subset Count — Coding Problem — CareerVerse