I tested your code and it returns wrong output for the input: A man, a plan, a canal - Panama (Returns false). You must remove all non-alphanumeric characters, including all symbols and spaces. This challenge lacks tests.
A man, a plan, a canal - Panama
false
nicely done :)
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
I tested your code and it returns wrong output for the input:
A man, a plan, a canal - Panama
(Returnsfalse
). You must remove all non-alphanumeric characters, including all symbols and spaces. This challenge lacks tests.nicely done :)
This comment is hidden because it contains spoiler information about the solution