Leetcode 2488. Count Subarrays With Median K | Hello Interview