Frage im Vorstellungsgespräch bei Google

Write a python code that goes through large datasets and identifies palindromes.

Antwort im Vorstellungsgespräch

Anonym

25. Feb. 2019

x = 'anna' if x == x[::-1]: print ('its a palindrome') else: print ('its not a palindrome')