New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Pinterest
Coding Question
AI Insights
Quick Summary
Match incoming spam reports to historical calls based on receiver identity and a strict time window.
Resolve ties by selecting the chronologically closest call, breaking further ties with original input order.
Aggregate results to return a frequency count of matched callers.
What This Tests
Hash map grouping and efficient lookups
Timestamp string parsing and numeric comparison
Greedy matching with deterministic tie-breaking
Data aggregation and formatted output generation
Common Patterns
Hashing
Greedy
Two Pointers
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected