Perfecto
CodeChefOpen on judge ↗
Chefu is studying English language and is obsessed with palindrome strings. Chefu also a good student and wants to earn the Prefecto, a badge of honer given to the most brillant mind of the class. Since every one in the class want to earn the badge, teacher devices a task. She would give a number of strings(may or may not be palindrome) and ask the student to find the longest palindrome in that
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