InterviewDB
Experience
Message Time - Parse and Format Chat Timestamps Across Time Zones
phone
Interview Experience
Round 1 - Coding Problem You are building a chat application. Given a list of messages, each with a UTC timestamp in ISO-8601 format and a target timezone offset (in hours, e.g. -5 for EST), return the messages formatted for display with a human-readable local time. Group consecutive messages sent within the same minute under one timestamp header. Example Follow-ups How do you handle DST transitions — where tz_offset itself changes mid-day? What if messages arrive out of order? Should the groupi…
Full Details
🔒
Unlock all Qrt questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited access