Valid Palindrome
EASYValid Palindrome
A phrase is a palindrome if, after removing non-alphanumeric characters and lowercasing, it reads the same forward and backward.
Examples
Input: "A man a plan a canal Panama"
Output: true
A phrase is a palindrome if, after removing non-alphanumeric characters and lowercasing, it reads the same forward and backward.
Input: "A man a plan a canal Panama"
Output: true