Ocado Technology Interview Question

Implement an algorithm to determine if a string is a palindrome