Topic: Array Problem / Level: intermediate

Problem: Find the longest contiguous subarray with at least k distinct elements.

Run the code to see the output here...