Microsoft Interview Question

Write test cases for the above function.

Interview Answers

Anonymous

Jan 20, 2010

Problem areas- null string, punctuation marks, unicode chars, multiword palindromes such as 'madam i am adam'

Anonymous

Mar 17, 2010

Yup. I was a little stupid in forgetting punctuations. God knows why I assumed it would be one long string without any punctuation. But yes, 1. null 2. numbers 3. unicode 4. punctuation 5. multi-word. 6. upper-lower case