Pergunta de entrevista da empresa PlayStation

How to test if a given string is a palindrome

Resposta da entrevista

Sigiloso

27 de out. de 2016

Traverse string from both directions at once and compare characters. Go until halfway in order to prevent redundant work.