You are given a string s and an integer k. You need to divide s into k non-empty disjoint substrings.
For each substring, you can change any of its characters to any other character.
Return the minimum number of character changes required so that each of the k substrings becomes a palindrome.
Constraints:
k s.length
s consists of only lowercase English letters.
You are given a string s and an integer k. You need to divide s into k non-empty disjoint substrings.
For each substring, you can change any of its characters to any other character.
Return the minimum number of character changes required so that each of the k substrings becomes a palindrome.
Constraints:
k s.length
s consists of only lowercase English letters.