Pergunta de entrevista da empresa General Motors (GM)

They were all very simple question. Like for example: write an algorithm that determines if a word is a palindrome.