Objective
With two pointers starting at the ends and moving towards the centre, each pair of characters is compared. Here only letters and digits count, ignoring case.
Instructions
- Read a line of English text (it may have spaces and symbols).
- Show
PalindromeorNot a palindrome.
A man, a plan, a canal: Panama
Palindrome
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise