Check Palindrome
00:00
TCSWiproCTS
Determine if a string reads the same forwards and backwards. For the interview variant: consider only alphanumeric characters, ignoring case.
Examples
Input → 'racecar'
Output → True
Input → 'hello'
Output → False
Input → 'A man a plan a canal Panama'
Output → True
Note: ignore spaces/case
Input → '121'
Output → True