Showing items from Longest Substring with At Most K Distinct Characters