Databricks phone-screen question, reconstructed from 9 candidate reports (April 2025 to August 2026). Tests: sliding window, two pointers, string matching; hash-map counting, grouping and joins. Candidates reported 4 follow-ups. The write-up includes a Python solution that passes 7 test cases.