HARMAN interview question

Write pallindrome, reverse a string code