TCS interview question

Blocked queue Dsa question regarding hight substring palindrome