Условие:
Given an array, requests, and an integer, mid, count the number of subarrays in requests with a median of mid.\nNote: The median of an array is the middle value in that sorted array.\nif the size of the array is even, there are two middle values. In this case, the median is the element at the smaller index of the two\nA subbarray of an array is defined as any contiguous segment of the array

