Question d’entretien chez Meta

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

Réponses aux questions d'entretien

Utilisateur anonyme

30 avr. 2019

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

Utilisateur anonyme

24 févr. 2020

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