Bright Subarrays

Company: Google_19aug

Difficulty: medium