Optum Interview Question

Count all pallindromes of string