← All problemsSign in

Anti Palindrome

CodeChefRating 1488Open on judge ↗

**Definitions:** A string $T$ is called **semi-palindrome** if you can rearrange the characters of $T$ to make it into a [palindrome](https://en.wikipedia.org/wiki/Palindrome).\ For eg. if $T = aabb$, it isn't a palindrome as of now, but it can be rearranged to form $abba$, which is a palindrome. Thus, $T = aabb$ is a semi-palindrome. An **anti-palindrome** is the opposite of a semi-palindrome.

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start