I have a project that we need to check if the string is a palindrome.
no definition of palindrome or whatsoever, and now I’m confused with these examples that I made:
- a? bba
- ab b a
- a a (double space between a)
with the confusion of whitespaces and punctuations, should i consider them in judging if its a palindrome? or should I only focus on letters and numbers?