Rosetta Problems

Palindromes in Deque

https://judge.yosupo.jp/problem/palindromes_in_deque