Leetcode 2958. Length of Longest Subarray With at Most K Frequency | Hello Interview