Domanda di colloquio di Amazon

Count Subarrays with fixed bounds in the problem-solving round, This is a leetcode style Hard problem