← All problemsSign in

Decode the Palindrome

There are two friends Parth and Justin. Parth has a string of alphabets. He decodes the string by replacing few characters with "#" and passes it on to Justin. Now Justin has to encode the string by replacing the "#" with any alphabet characters in order to make sure the string turns out to be a Palindrome. Print "Yes" if Justin can make the string as Palindrome and print "No" if he cannot. #

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