Given poker cards, form 3 groups of 3-card straights plus 1 pair. Candidate used counter-based approach (solve pairs first, then straights). Passed provided test cases but interviewer noted hidden bugs; time ran out before fixes. Two framings are reported, and they are different tasks - clarify which one you are…