A palindrome is a word, phrase, or number that reads the same forward and backward after:
• Converting all letters to lowercase.
• Removing all characters that are not letters or numbers.
Input: s = "No lemon, no melon"
Output: true
Explanation:
"nolemonnomelon" reads the same forward and backward.
Input: s = "Hello, world!"
Output: false
Explanation:
"helloworld" is not the same backward.
Input: s = "12321"
Output: true
Explanation:
"12321" is already a palindrome.
Accepted:
Submission: