Count Subarrays Where Max Element Appears at Least K Times - DSA Problem | Talentd