Design an Employee Coverage Timeline
Company: Google
Role: Software Engineer
Category: Software Engineering Fundamentals
Difficulty: medium
Interview Round: Onsite
Overview: Use a grouped sweep line and per-ID reference counts to build employee coverage segments while preserving consistent IDs and names across overlapping shifts.