Question d’entretien chez LinkedIn

Design function that can determine whether a given string is a palindrome.