Tripadvisor interview question

Write a function to determine if a string is a palindrome?

Interview Answer

Anonymous

29 Sept 2017

I started from the middle of the string and worked my way out, but the most efficient way was to go outside in.