Rosetta Problems

Rotated Palindromes

https://atcoder.jp/contests/arc064/tasks/arc064_d