Function to print the lexicographically smallest substring of length atmost k which is not present in given string s
static string smallestSubstring ( string s , int k ) { HashSet < string > st = new HashSet < string > ( ) ;