Nextdoor·Machine Learning Engineer·Technical Phone Screen
- Given a list of intervals where each interval has a weekday (Monday through Sunday), a start time, and an end time in HH:MM format, merge all overlapping intervals and return the merged result. Intervals can span across consecutive weekdays.
“Recognized it as LC 56 pretty fast, but the weekday dimension threw me off for a minute.”