Domanda di colloquio di PlayStation

How to test if a given string is a palindrome

Risposta di colloquio

Anonimo

27 ott 2016

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