Leetcode 2444 || Count Subarrays With Fixed Bounds
Problem
https://leetcode.com/problems/count-subarrays-with-fixed-bounds/
In this problem, a list nums along with maxK and minK values are given as input. We need to count the subarrays where the maximum value = maxK and minimum value = minK .
Solutio...
uh.hashnode.dev4 min read