Minimum Changes for Block Palindrome Password
Given a password string password and a positive integer k, split the password from left to right into consecutive substrings of length k.
In one operation, you may change any character to any o...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
