Compute an Overnight Alarm Interval
Company: Meta
Role: Software Engineer
Category: Statistics & Math
Difficulty: easy
Interview Round: HR Screen
Overview: Compute the elapsed time from 8:00 PM to 9:00 AM the next morning. Show the overnight rollover explicitly by splitting at midnight or using a 24-hour timeline, rather than subtracting the clock-face labels directly.