SurveyMonkey Interview Question

How to detect whether or not given string is a palindrome.

Interview Answer

Anonymous

Jul 1, 2016

I answered the question in python by having two pointers: one in the beginning and one in the end and moved both pointers towards the middle and checked if every letter is the same.