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
Coinbase
Coding Question
AI Insights
Quick Summary
Parse colon-delimited log strings to extract thread IDs and timestamps.
Group all log entries into a hash map keyed by thread ID.
Sort each group's logs in ascending order based on their numeric timestamp.
What This Tests
String parsing and substring extraction
Hash map usage for efficient key-value grouping
Custom comparator implementation for numerical sorting
Handling delimited string edge cases
Common Patterns
Hashing
Sorting
Collapse
Hint
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
Stdout
-