Microsoft interview question

Determine whether a string is symmetrical.