Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try to replay the operations <code>k<sup>th</sup></code> character was part of.
The <code>k<sup>th</sup></code> character is only affected if it is present in the first half of the string.