Flipkart interview question

Find all substrings in a string which has exactly K unique characters.