HashedIn by Deloitte interview question

Oops, testing, basic coding like palindrome or reverse string