Expedia Group interview question

Palindrome string manipulation