for W3c validation
Note: as I’m currently evaluating and interviewing for product manager opportunities, I’m publishing many answers to the product, behavioral, business, and life questions I’m researching/practicing publicly rather than keep them private in a Google doc.
How do you detect whether or not a word is a palindrome?
Compare the 1st letter with the last letter, 2nd letter to 2nd to last letter, 3rd letter with 3rd to last letter, etc.