Domanda di colloquio di Meta

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

Risposte di colloquio

Anonimo

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 .

Anonimo

24 feb 2020

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