Meta interview question

Write an algorithm to determine whether a string is a palindrome.

Interview Answers

Anonymous

30 Apr 2019

Would you be able to post here the questions during the coding phone Interview or the actual code if you have it .

Anonymous

24 Feb 2020

``` def ispalindrome(s): ''' >>> ispalindrome('bob') True ''' return len(s) > 2 and s == ''.join(reversed(s)) ```