Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

adaptatron's blog

By adaptatron, 7 months ago, In English

Find how many string pairs are there in array such that at least one permutation of their concatentation is a palindrome.

I created a video discussing the technique to solve this in $$$O(N \cdot Log(N))$$$.

https://youtu.be/OufI-e0CeJU

  • Vote: I like it
  • +15
  • Vote: I do not like it