Batman and the Riddler
CodeChefOpen on judge ↗
The riddler is out to get Batman, Again..!! This time he's got a very interesting riddle. Solve it or batman Loses...!! Riddler has encoded a String, to decode a String you can do 2 operations: op1- delete a character from end op2- delete a character from beginning A String is decoded if: 1)It has at least 2 characters in it 2)It's a palindrome Tell if a string can be decoded, if it can prin
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