Palindrome Problem
CodeChefOpen on judge ↗
A palindrome is a word that has the property of reading the same in either direction. Your task is to find out all palindromes in a given string 's', where the length of all palindromes is equal to k. Input First line of input contains t, the number of test cases. Each test case contains two lines of input. The first line of input is the length of the required palindromes k. The second line co
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