HappLabs interview question

Q : String reverse Q: String pelindrome