Question d’entretien chez Flipkart

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