Pergunta de entrevista da empresa AT&T

Write an algorithm that tests for palendromes

Resposta da entrevista

Sigiloso

18 de out. de 2018

bool isPalindrome = True for i in range (0, str.length/2): if str[0] != str[str.length - (i + 1)]: isPalindrome = False return isPalindrome