...

/

Solved Problem - Make String Palindrome

Solved Problem - Make String Palindrome

In this lesson, we'll discuss a problem to better understand palindromes.

We'll cover the following...

Problem statement

Given a string, SS, of length $$ consisting of lowercase characters, in one action, you have to change any character to any other character.

Find the minimum number of actions required so that the resulting string is a palindrome.

Input format

The single line of input contains the string SS ...