Tripadvisor Interview Question

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

Interview Answer

Anonymous

Sep 29, 2017

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