Also reported as Delete Interval · Interval Insertion and Deletion
Databricks coding question, reconstructed from 8 candidate reports (February 2025 to August 2026). Tests: intervals and sweep lines. Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 10 test cases.