← All problemsSign in

Palindrome Range

Ankita got homework to do but she is unable to complete her homework on her own. She asked Aakash for help but unfortunately, Aakash is also not able to complete her homework but Aakash wants to impress Ankita anyway, so he decided to help Ankita in whichever way possible. So, you need to help Aakash to complete the homework for her. To complete the task you are given a string $S$ and you need t

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