Palindrome ignoring punctuation
Given a string s, return True if it reads the same forwards and backwards when you look only at its letters and digits and ignore case; otherwise return False. Spaces and punctuation are skipped. A string with no letters or digits counts as a palindrome.
s contains only ASCII characters. Aim for O(1) extra space: do not build a cleaned copy.
Examples
is_palindrome("Was it a car or a cat I saw?")→trueis_palindrome("Not a palindrome")→falseis_palindrome("No lemon, no melon")→true