Rosetta Problems

Count the Number of Good Subarrays

https://leetcode.com/problems/count-the-number-of-good-subarrays