Twin Palindromes
CodeChefOpen on judge ↗
Let’s simplify some definitions – Anagrams - Two strings are anagrams of each other if the letters of the first string can be rearranged to form the second string. In other word, both strings must contain the exact letters in same exact frequency. Palindrome - A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam or racecar.
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.
Sign in to chat with the tutor and save your progress.
Sign in to start