K-Flagged Serial Count — Coding Problem — CareerVerse