Also reported as LeetCode 3
Amazon coding question, reconstructed from 3 candidate reports (December 2025 to September 2026). Tests: sliding window, two pointers, string matching. Candidates reported 1 follow-up. The write-up includes a Python solution that passes 6 test cases.