Avathon interview question

Python Questions. P1 - Maximum length good subarray