Implement a method to check if a string is a valid palindrome, ignoring case and non-alphanumeric characters.
MediumProblem Statement
Implement a method to check if a string is a valid palindrome, ignoring case and non-alphanumeric characters.
Sample Input
"A man, a plan, a canal: Panama"
Sample Output
true
Limits
Time: 2s · Memory: 256 MB