BusPlanner interview question

Function: determine if a string is a palindrome