Count the Number of Good Subarrays

Answer Panel