Valid Palindrome II
Return True if s reads the same forwards and backwards after deleting at most one character (deleting none is allowed), otherwise False.
Example 1
s "abca"
returns true
Delete c (or b) to get a palindrome.
Example 2
s "abc"
returns false
One deletion is not enough.
Constraints
1 <= len(s) <= 100- Lowercase letters only
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.