Domanda di colloquio di Tech Mahindra

Palindrome strings based on reverse and front same then return true else false