C1 Min Read LetuscrackonJune 7, 2024 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:…