Leetcode 2845. Count of Interesting Subarrays | Hello Interview