Length of Longest Subarray With at Most K Frequency — Fun with Learning Technology