Minimum Changes to Make Every Password Block a Palindrome
Given a password string password consisting of lowercase English letters and a positive integer k, where the password length n is guaranteed to be divisible by k.
Split the password into cons...
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:
