C1 Min Read LetuscrackonSeptember 2, 2025 Sub Palindromes Given a string S, the program must print the count of sub palindromes(with a minimum length of two characters) in the string S. Example 1:…