Python data engineering interview problem. Difficulty: intermediate. Pattern: Intervals. About 14 minutes. Part of the Pro drill bank.
Whether a person can attend all meetings. Treat this as a production helper: match the contracted return shape, including empty and duplicate inputs.
Implement can_attend_meetings(intervals: list) -> bool.
Input: can_attend_meetings([[0, 30], [5, 10], [15, 20]]) Output: False All overlap the long meeting.
Topics: lakebench, python, meetings, overlap.
More Python interview questions · All interview problems · Learn data engineering
Interview-style drill: Whether a person can attend all meetings.
Implement `can_attend_meetings(intervals: list) -> bool`. Example: `[[0, 30], [5, 10], [15, 20]]` → `False`. Keep the harness.