Function to print all distinct palindrome sub - strings of s
public static void palindromeSubStrs ( string s ) { Dictionary < string , int > m = new Dictionary < string , int > ( ) ; int n = s . Length ;