Question d’entretien chez CoStar Group

Write out the pseudocode and explain the code for a palindrome