Monday, December 05, 2011

Palindrome Interview Question

When I was in college I met with a couple of Microsoft employees who interviewed me for an intern position with the Office team. In the interview they asked me to write something that would check if a word is a palindrome or not. A palindrome is a word that can be spelled the same way forward and backward. I thought this was a great interview question and have since used it when I interview job candidates.

Can you come up with the solution? I'll post mine in the comments.